mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
Fix autoprefix
This commit is contained in:
parent
3baf790341
commit
b706a024c6
@ -72,6 +72,7 @@
|
|||||||
"warning": "~2.1.0"
|
"warning": "~2.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"autoprefixer": "^6.3.3",
|
||||||
"babel-cli": "^6.2.0",
|
"babel-cli": "^6.2.0",
|
||||||
"babel-core": "^6.2.1",
|
"babel-core": "^6.2.1",
|
||||||
"babel-jest": "^6.0.1",
|
"babel-jest": "^6.0.1",
|
||||||
|
@ -2,6 +2,7 @@ var webpack = require('webpack');
|
|||||||
var ExtractTextPlugin = require("extract-text-webpack-plugin");
|
var ExtractTextPlugin = require("extract-text-webpack-plugin");
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
var pkg = require('./package');
|
var pkg = require('./package');
|
||||||
|
var autoprefixer = require('autoprefixer');
|
||||||
|
|
||||||
var entry = {};
|
var entry = {};
|
||||||
entry['demo'] = ['./scripts/demo.js', 'webpack-hot-middleware/client'];
|
entry['demo'] = ['./scripts/demo.js', 'webpack-hot-middleware/client'];
|
||||||
@ -53,6 +54,8 @@ module.exports = {
|
|||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
postcss: [autoprefixer],
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
new ExtractTextPlugin('[name].css'),
|
new ExtractTextPlugin('[name].css'),
|
||||||
new webpack.optimize.OccurenceOrderPlugin(),
|
new webpack.optimize.OccurenceOrderPlugin(),
|
||||||
|
Loading…
Reference in New Issue
Block a user