bless-css-webpack-plugin

2.0.0 • Public • Published

bless-css-webpack-plugin

A webpack plugin for bless CSS

npm version Build Status codecov Dependency Status devDependency Status

Installation

Install the plugin with npm:

npm install --save-dev bless-css-webpack-plugin

Usage

const BlessCSSWebpackPlugin = require('bless-css-webpack-plugin');
 
// in your webpack config
{
  plugins: [
    new BlessCSSWebpackPlugin(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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    57
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    57
  • 1.1.0
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i bless-css-webpack-plugin

Weekly Downloads

57

Version

2.0.0

License

MIT

Last publish

Collaborators

  • mattlewis92