next-cssloader-options

2.0.0 • Public • Published

next-cssloader-options

Next plugin to update css loader options until cssOptions will be supported officially.

Install

npm install next-cssloader-options

Usese

const withCssLoaderOptions = require('next-cssloader-options');

module.exports = withCssLoaderOptions({
  cssOptions: {
    modules: {
      getLocalIdent: (context, localIdentName, localName, options) => localName
    }
  }
})

License

MIT @ Jimmy Moon

Package Sidebar

Install

npm i next-cssloader-options

Weekly Downloads

16

Version

2.0.0

License

MIT

Unpacked Size

3.12 kB

Total Files

9

Last publish

Collaborators

  • ragingwind