Skip to content

Commit

Permalink
Fix autoprefix
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Mar 9, 2016
1 parent 3baf790 commit b706a02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"warning": "~2.1.0"
},
"devDependencies": {
"autoprefixer": "^6.3.3",
"babel-cli": "^6.2.0",
"babel-core": "^6.2.1",
"babel-jest": "^6.0.1",
Expand Down
3 changes: 3 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ var webpack = require('webpack');
var ExtractTextPlugin = require("extract-text-webpack-plugin");
var path = require('path');
var pkg = require('./package');
var autoprefixer = require('autoprefixer');

var entry = {};
entry['demo'] = ['./scripts/demo.js', 'webpack-hot-middleware/client'];
Expand Down Expand Up @@ -53,6 +54,8 @@ module.exports = {
}]
},

postcss: [autoprefixer],

plugins: [
new ExtractTextPlugin('[name].css'),
new webpack.optimize.OccurenceOrderPlugin(),
Expand Down

0 comments on commit b706a02

Please sign in to comment.