A CSSComb plugin for webpack
npm install csscomb-webpack-pluginA CSSComb plugin for webpack
This module requires a minimum of Node v6.9.0 and it's compatible with both Webpack 3 and 4.
To begin, you'll need to install csscomb-webpack-plugin:
``console`
$ npm install csscomb-webpack-plugin --save-dev
Then add the plugin to your webpack config. For example:
`js
// webpack.config.js
const CSSCombPlugin = require('csscomb-webpack-plugin');
module.exports = {
// ...
plugins: [
new CSSCombPlugin(options),
],
// ...
}
`
And run webpack via your preferred method.
Type: String./.csscomb
Default:
Specify the config file location to be used by CSSComb.
_Note: If no config was found, it will load CSSComb standard config_
Type: String|Array[String]'*/.s?(a|c)ss'
Default:
Specify the glob pattern for finding files.
Type: Booleantrue`
Default:
Show CSSComb error messages.
#### MIT