Skip to content

Commit

Permalink
refactor: small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
dennishendriksen committed Jun 16, 2020
1 parent 8b67820 commit 590b83b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
const HtmlWebpackInlineSourcePlugin = require('html-webpack-inline-source-plugin');

module.exports = {
productionSourceMap: process.env.NODE_ENV === 'production' ? false : true,
filenameHashing: false,
productionSourceMap: process.env.NODE_ENV !== 'production',

configureWebpack: {
plugins: [
Expand All @@ -15,6 +16,8 @@ module.exports = {
config.plugins.delete('preload')
config.plugins.delete('prefetch')

config.optimization.splitChunks({chunks: "all"})

config.plugin('html')
.tap(args => {
args[0].filename = './vip-report-template.html';
Expand Down

0 comments on commit 590b83b

Please sign in to comment.