Skip to content

Commit

Permalink
fix: css sourceMap in production (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyy7259 authored and yyx990803 committed May 11, 2018
1 parent 5c54df7 commit 2d09a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/lib/config/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ module.exports = (api, options) => {
autoprefixer: { disable: true },
mergeLonghand: false
}
if (options.productionSourceMap && options.cssSourceMap) {
if (options.productionSourceMap && sourceMap) {
cssProcessorOptions.map = { inline: false }
}
webpackConfig
Expand Down

0 comments on commit 2d09a4c

Please sign in to comment.