Skip to content

Latest commit

 

History

History
 
 

react-static-plugin-stylus

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

react-static-plugin-less

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

Installation

In an existing react-static site run:

$ yarn add react-static-plugin-less

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

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

With Options

export default {
  plugins: [
    [
      "react-static-plugin-less",
      {
        includePaths: ["..."] // always includes `src/`
        // other options for the less-loader
      }
    ]
  ]
};