mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-20 03:00:57 -05:00
fix: css sourceMap in production (#1270)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user