fix:postcss-loader sourceMap

This commit is contained in:
Pan 2017-11-23 16:30:51 +08:00
parent 1c4c3380e6
commit e0f6248d0e
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,9 @@ exports.cssLoaders = function (options) {
var postcssLoader = { var postcssLoader = {
loader: 'postcss-loader', loader: 'postcss-loader',
sourceMap: options.sourceMap options: {
sourceMap: options.sourceMap
}
} }
// generate loader string to be used with extract text plugin // generate loader string to be used with extract text plugin