{"library":"stylus-loader","type":"library","category":null,"description":"Webpack loader that compiles Stylus (.styl) files into CSS. Current stable version is 8.1.3, released February 2026, with regular bugfix updates. Maintained by the webpack team. Key differentiator: first-class webpack integration, supports webpack resolve and loaders, optional Rspack compatibility since v8.1.0, and incremental build optimization. Requires Node.js >=18.12.0 (v8) and Stylus >=0.52.4 as a peer dependency. Alternatives like stylus itself require separate CLI usage or manual integration.","language":"javascript","status":"active","version":"8.1.3","tags":["javascript","webpack","loader","stylus"],"last_verified":"Wed May 27","install":[{"cmd":"npm install stylus-loader","imports":["import stylusLoader from 'stylus-loader'","{\n  test: /\\.styl$/,\n  loader: 'stylus-loader'\n}","{\n  test: /\\.styl$/,\n  use: [{\n    loader: 'stylus-loader',\n    options: {\n      stylusOptions: { /* ... */ }\n    }\n  }]\n}"]},{"cmd":"yarn add stylus-loader","imports":[]},{"cmd":"pnpm add stylus-loader","imports":[]}],"homepage":"https://webpack.js.org/loaders/stylus-loader/","github":"https://github.com/webpack/stylus-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/stylus-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/stylus-loader/compatibility"}}