提交 b706a024 编写于 作者: A afc163

Fix autoprefix

上级 3baf7903
......@@ -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",
......
......@@ -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'];
......@@ -53,6 +54,8 @@ module.exports = {
}]
},
postcss: [autoprefixer],
plugins: [
new ExtractTextPlugin('[name].css'),
new webpack.optimize.OccurenceOrderPlugin(),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册