2.0.0 • Published 9 years ago
bless-css-webpack-plugin v2.0.0
bless-css-webpack-plugin
A webpack plugin for bless CSS
Installation
Install the plugin with npm:
npm install --save-dev bless-css-webpack-pluginUsage
const BlessCSSWebpackPlugin = require('bless-css-webpack-plugin');
// in your webpack config
{
plugins: [
new BlessCSSWebpackPlugin(options)
]
}options
sourceMap- set totrueto enable sourcemaps. Defaultfalse.addImports- set totrueto inject @import rules for generated files. Defaultfalse.
Differences from bless-webpack-plugin
- Works with the html webpack plugin
- Has tests
- Uses bless 4.0
- Works with sourcemaps
Credits
- The webpack source code and readme for how to write a plugin
- The original
bless-webpack-pluginplugin
License
MIT