0.0.1 • Published 8 years ago
simple-blessings v0.0.1
simple-blessings
A webpack plugin for bless CSS, based on bless-css-webpack-plugin
Installation
Install the plugin with npm:
npm install --save-dev simple-blessingsUsage
const BlessCSSWebpack = require('simple-blessings');
// in your webpack config
{
plugins: [
new BlessCSSWebpack(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
0.0.1
8 years ago