Skip to content

Commit 2d09a4c

Browse files
zyy7259yyx990803
authored andcommitted
fix: css sourceMap in production (#1270)
1 parent 5c54df7 commit 2d09a4c

File tree

1 file changed

+1
-1
lines changed
  • packages/@vue/cli-service/lib/config

1 file changed

+1
-1
lines changed

packages/@vue/cli-service/lib/config/css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ module.exports = (api, options) => {
118118
autoprefixer: { disable: true },
119119
mergeLonghand: false
120120
}
121-
if (options.productionSourceMap && options.cssSourceMap) {
121+
if (options.productionSourceMap && sourceMap) {
122122
cssProcessorOptions.map = { inline: false }
123123
}
124124
webpackConfig

0 commit comments

Comments
 (0)