gnoll-sass
Adds support for CSS and SCSS for Gnoll.
Install
npm i gnoll-sass
Usage
You need to create webpack.config.js
file in the your project
and add extend base config with scss plugin:
//webpack.config.jsconst merge = const baseConfig = const sass = moduleexports =
Configuration
CSS modules
You can disable or enable CSS-modules with option cssModules
.
Postcss
Postcss config includes following plugins:
- cssnext
- postcss-global-import
- minification with
css-nano
in production mode
If you want to change config, you can create postcss.config.js
file in the
your project and extend the default config:
// postcss.config.jsconst baseConfig = moduleexports = ...baseConfig plugins: ...baseConfigplugins 'some-plugin'
License
Public domain, see the LICENCE file.