Skip to content

Use the Stylus compiler to build .styl files from source

License

Notifications You must be signed in to change notification settings

fansenze/snowpack-plugin-stylus

Repository files navigation

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

About

Use the Stylus compiler to build .styl files from source

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published