Package Exports
- snowpack-plugin-stylus
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (snowpack-plugin-stylus) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
snowpack-plugin-stylus
Use the Stylus compiler to build .styl files from source
Usage
Install
npm install --save-dev snowpack-plugin-stylusConfig
add this plugin to your Snowpack config:
snowpack.config.json
{
"plugins": [
"snowpack-plugin-stylus"
]
}Use Custom Stylus Compile Options
snowpack.config.js
const path = require("path");
module.exports = {
// ...another config
"plugins": [
[
"snowpack-plugin-stylus",
{ /* stylus render options */ }
]
]
}