Disable sourcemaps for production builds

This commit is contained in:
cristi8
2021-03-12 15:32:49 +02:00
parent e1c1aaa75e
commit c488dd5bfa
+1 -12
View File
@@ -1,6 +1,5 @@
const TerserPlugin = require('terser-webpack-plugin')
module.exports = {
productionSourceMap: false,
pages: {
app: {
entry: 'src/app.js',
@@ -18,14 +17,4 @@ module.exports = {
}
},
transpileDependencies: ['vuetify'],
configureWebpack: {
optimization: {
minimize: true,
minimizer: [
new TerserPlugin({
exclude: /(Speckle.js\.). /
})
]
}
}
}