whatisgithub

What is stylus-loader?

yyx990803/stylus-loader — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2016-05-31

3JavaScriptAudience · developerComplexity · 2/5Dormant

In one sentence

A webpack plugin that compiles Stylus stylesheets into standard CSS as part of your build pipeline.

Mindmap

mindmap
  root((repo))
    What it does
      Compiles Stylus to CSS
      Webpack loader plugin
      Feeds build pipeline
    Tech stack
      JavaScript
      Webpack
      Stylus
    Use cases
      Write concise stylesheets
      Use Stylus design frameworks
      Extend with plugins like nib
    Audience
      Frontend developers
      Webpack users
    Notes
      Requires separate Stylus install
      Pairs with style loader
      Auto imports from node_modules

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Write stylesheets in Stylus's shorter syntax and have webpack automatically compile them to CSS.

USE CASE 2

Import a Stylus-based design framework like Bootstrap Stylus directly from node_modules.

USE CASE 3

Combine stylus-loader with style-loader to inject compiled styles into the page automatically.

USE CASE 4

Extend Stylus with plugins like nib to get shortcuts for common browser CSS features.

What is it built with?

JavaScriptWebpackStylus

How does it compare?

yyx990803/stylus-loaderamarjitjim/browserpilotandershaig/cssess
Stars333
LanguageJavaScriptJavaScriptJavaScript
Last pushed2016-05-312011-08-19
MaintenanceDormantDormant
Setup difficultymoderateeasy
Complexity2/53/51/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

Copy-paste prompts

Prompt 1
Show me how to configure stylus-loader in my webpack config to compile .styl files.
Prompt 2
Help me set up stylus-loader together with style-loader so compiled CSS injects into the page automatically.
Prompt 3
Explain how to import a Stylus design framework's files from node_modules using this loader.
Prompt 4
Write a webpack rule that uses stylus-loader and the nib plugin for extra CSS shortcuts.

Frequently asked questions

What is stylus-loader?

A webpack plugin that compiles Stylus stylesheets into standard CSS as part of your build pipeline.

What language is stylus-loader written in?

Mainly JavaScript. The stack also includes JavaScript, Webpack, Stylus.

Is stylus-loader actively maintained?

Dormant — no commits in 2+ years (last push 2016-05-31).

Who is stylus-loader for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.