react-static-plugin-stylus

7.6.2 • Public • Published

react-static-plugin-stylus

A React-Static plugin that adds loader and SSR support for stylus

Installation

In an existing react-static site run:

$ yarn add react-static-plugin-stylus

Then add the plugin to your static.config.js:

export default {
  plugins: ["react-static-plugin-stylus"]
};

With Options

export default {
  plugins: [
    [
      "react-static-plugin-stylus",
      {
        cssLoaderOptions: {}, // options for the css-loader, like modules
        // other options for the stylus-loader
      }
    ]
  ]
};

Readme

Keywords

none

Package Sidebar

Install

npm i react-static-plugin-stylus

Weekly Downloads

1

Version

7.6.2

License

MIT

Unpacked Size

9.4 kB

Total Files

6

Last publish

Collaborators

  • tannerlinsley
  • sleeplessbyte