explore-webapp/vue.config.js
2019-11-07 21:58:05 +01:00

20 lines
504 B
JavaScript

process.env.VUE_APP_VERSION = require('./package.json').version //TODO add commit offset
//const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
module.exports = {
configureWebpack: {
//plugins: [new BundleAnalyzerPlugin()]
/*
output:{
filename: "[name].bundle.js"
},
optimization: {
splitChunks: {
minSize: 10000,
maxSize: 250000,
}
}
*/
}
}