snowpack-plugin-stylus
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

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

Package Sidebar

Install

npm i snowpack-plugin-stylus

Weekly Downloads

2,478

Version

1.0.6

License

MIT

Unpacked Size

9.54 kB

Total Files

12

Last publish

Collaborators

  • senze.fan