0.0.1 • Published 6 years ago

simple-blessings v0.0.1

Weekly downloads
1
License
MIT
Repository
bitbucket
Last release
6 years ago

simple-blessings

A webpack plugin for bless CSS, based on bless-css-webpack-plugin

npm version Build Status codecov Dependency Status devDependency Status

Installation

Install the plugin with npm:

npm install --save-dev simple-blessings

Usage

const BlessCSSWebpack = require('simple-blessings');

// in your webpack config
{
  plugins: [
    new BlessCSSWebpack(options)
  ]
}

options

  • sourceMap - set to true to enable sourcemaps. Default false.
  • addImports - set to true to inject @import rules for generated files. Default false.

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-plugin plugin

License

MIT

0.0.1

6 years ago