2.0.0 • Published 2 years ago

next-cssloader-options v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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