vue-cli3 + webpack packages generate files that do not contain map files. I need to produce map in both development and production environments
vue.config.js is configured as follows
module.exports = {
// ...
lintOnSave: false,
runtimeCompiler: true,
productionSourceMap: true,
devServer: {
port: 8084,
https: false,
hotOnly: false,
// proxy: null, //
proxy: false,
before: app => { }
},
configureWebpack: {
resolve: {
alias: {
// Vue
"vue$": "vue/dist/vue.js"
}
},
//js
optimization: {
minimizer: [
new UglifyJsPlugin({
uglifyOptions: {
compress: false
}
})
]
},
plugins: [
// new BundleAnalyzerPlugin({
// analyzerMode: "server",
// analyzerHost: "127.0.0.1",
// analyzerPort: 9999,
// reportFilename: "report.html",
// defaultSizes: "parsed",
// openAnalyzer: true,
// generateStatsFile: false,
// statsFilename: "stats.json",
// logLevel: "info"
// })
]
}
}
there are many chunk files in the generated js directory, but there is no map