1.0.6 • Published 3 years ago

snowpack-plugin-stylus v1.0.6

Weekly downloads
28
License
MIT
Repository
github
Last release
3 years ago

snowpack-plugin-stylus

Use the Stylus compiler to build .styl files from source

Usage

Install

npm install --save-dev snowpack-plugin-stylus

Config

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 */ }
    ]
  ]
}
1.0.6

3 years ago

1.0.2

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

4 years ago