Skip to content

Webpack plugin to extract React Style style declarations into CSS bundle

Notifications You must be signed in to change notification settings

matcherino/react-style-webpack-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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')
  ]
}

About

Webpack plugin to extract React Style style declarations into CSS bundle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.2%
  • Makefile 0.8%