csscomb-loader

0.0.2 • Public • Published

CSScomb Loader for Webpack

Format CSS coding style with CSScomb and Webpack.

If you have any difficulties with the output of this plugin, please use the CSScomb tracker.

How to Install

NPM

npm install csscomb-loader --save-dev

How to Use

Option 1: Via command line:

webpack ./src/app.js ./build/app.js --module-bind 'css=style!css!csscomb'

Option 2: Configuration file:

module.exports = {
    entry: './src/app.js',
    output: {
        filename: 'app.js',
        path: './build'
    },
    module: {
        loaders: [
            { test: /\.css$/, loader: 'style!css!csscomb' }
        ]
    }
};

License

MIT (c) Konstantin Tarkus (@koistya)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    38
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    38
  • 0.0.1
    0

Package Sidebar

Install

npm i csscomb-loader

Weekly Downloads

38

Version

0.0.2

License

MIT

Last publish

Collaborators

  • koistya