mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
use postcss-loader, ref ant-tool/atool-build#49
This commit is contained in:
parent
1b0842743c
commit
0c70f7e7e8
@ -71,7 +71,6 @@
|
||||
"warning": "~2.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer-loader": "^3.2.0",
|
||||
"babel-cli": "^6.2.0",
|
||||
"babel-core": "^6.2.1",
|
||||
"babel-jest": "^6.0.1",
|
||||
@ -100,6 +99,7 @@
|
||||
"lesshint-antd": "^1.2.1",
|
||||
"lodash": "^4.0.0",
|
||||
"nico-jsx": "~0.7.2",
|
||||
"postcss-loader": "^0.8.0",
|
||||
"pre-commit": "1.x",
|
||||
"rc-form": "^0.8.0",
|
||||
"rc-scroll-anim": "^0.1.1",
|
||||
|
@ -37,12 +37,12 @@ module.exports = {
|
||||
}, {
|
||||
test: /\.less$/,
|
||||
loader: ExtractTextPlugin.extract(
|
||||
'css?sourceMap&-minimize!' + 'autoprefixer-loader!' + 'less?sourceMap'
|
||||
'css?sourceMap&-minimize!' + 'postcss-loader!' + 'less?sourceMap'
|
||||
)
|
||||
}, {
|
||||
test: /\.css$/,
|
||||
loader: ExtractTextPlugin.extract(
|
||||
'css?sourceMap&-minimize!' + 'autoprefixer-loader'
|
||||
'css?sourceMap&-minimize!' + 'postcss-loader'
|
||||
)
|
||||
}]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user