0.4.0 • Published 9 years ago

react-style-webpack-plugin v0.4.0

Weekly downloads
6
License
MIT
Repository
github
Last release
9 years ago

React Style Webpack plugin

This package provides plugin for Webpack which extracts static React Style declarations into a separate CSS bundle.

The usage as simple as adding few lines of configuration into your webpack.config.js:

var ReactStylePlugin = require('react-style-webpack-plugin');

module.exports = {
  ...
  module: {
    loaders: [
      {
        test: /\.js$/,
        loader: ReactStylePlugin.loader()
      }
    ]
  },
  plugins: [
    new ReactStylePlugin('bundle.css')
  ]
}
0.4.0

9 years ago

0.2.0

9 years ago