A webpack plugin for bless CSS
I no longer use this project as we dropped support at work for IE9 and below. If you would like to take ownership of this project please reach out to me on twitter or via my website. Thanks!
Install the plugin with npm:
npm install --save-dev bless-css-webpack-plugin
const BlessCSSWebpackPlugin = require('bless-css-webpack-plugin');
// in your webpack config
{
plugins: [
new BlessCSSWebpackPlugin(options)
]
}
sourceMap
- set totrue
to enable sourcemaps. Defaultfalse
.addImports
- set totrue
to inject @import rules for generated files. Defaultfalse
.
- Works with the html webpack plugin
- Has tests
- Uses bless 4.0
- Works with sourcemaps
- The webpack source code and readme for how to write a plugin
- The original
bless-webpack-plugin
plugin
MIT