fix:fix postcss config

This commit is contained in:
Pan
2017-11-09 18:27:00 +08:00
parent 61095a9f2c
commit 4e25a17bff
3 changed files with 8 additions and 5 deletions

View File

@@ -20,7 +20,8 @@ var webpackConfig = merge(baseWebpackConfig, {
module: {
rules: utils.styleLoaders({
sourceMap: config.build.productionSourceMap,
extract: true
extract: true,
usePostCSS: true
})
},
devtool: config.build.productionSourceMap ? '#source-map' : false,