5.2.1 • Published 9 years ago

cssx-loader v5.2.1

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

cssx-loader

A CSSX loader for webpack.

Usage

Install the loader with npm i cssx-loader -D and then add it to your webpack.config.js file:

var webpack = require('webpack');

module.exports = {
  entry: '...',
  devtool: 'source-map',
  output: {
    path: '...',
    filename: 'bundle.js'
  },
  cssx: {
    minify: false
  },
  module: {
    loaders: [
      {
        test: /(\.js)$/,
        loader: 'cssx-loader',
        exclude: /node_modules/
      }
    ]
  }
};

If you use cssx-loader along with React make sure that you place it at the end of the loaders array. It's important that you get the CSSX <style> tags resolved first, before they reach the JSX transpiler.

Notice that if you need to pass settings to the transpiler you have to use cssx property of the webpack's configuration.

5.2.1

9 years ago

5.2.0

9 years ago

5.1.1

9 years ago

5.1.0

9 years ago

5.0.0

9 years ago

4.3.0

9 years ago

4.2.0

9 years ago

4.1.0

9 years ago

4.0.0

9 years ago

3.8.2

9 years ago

3.8.1

9 years ago

3.8.0

9 years ago

3.7.3

9 years ago

3.7.2

9 years ago

3.7.1

9 years ago

3.7.0

9 years ago

3.6.0

9 years ago

3.5.6

9 years ago

3.5.3

9 years ago

3.5.2

9 years ago

3.5.1

9 years ago

3.5.0

9 years ago

3.4.1

9 years ago

3.4.0

9 years ago

3.3.0

9 years ago

3.2.3

9 years ago

3.2.2

9 years ago

3.2.1

9 years ago

3.2.0

9 years ago

3.1.0

9 years ago

3.0.6

9 years ago

3.0.5

9 years ago

3.0.4

9 years ago

3.0.3

9 years ago

3.0.2

9 years ago

3.0.1

9 years ago

3.0.0

9 years ago

2.5.0

9 years ago

2.4.1

9 years ago

2.4.0

9 years ago

2.3.0

9 years ago

2.2.0

9 years ago

2.1.12

9 years ago