Revision 78fa41f73d7c3d3d1cfd89e7ad3ea672c9aa1697 authored by Thomas Guillet on 06 May 2020, 20:07:43 UTC, committed by Thomas Guillet on 07 May 2020, 06:07:43 UTC
1 parent a71f008
vue.config.js
const configureAPI = require('./configure')
const mock = require('./mock')
const before = process.env.NODE_ENV === 'front_only' ? mock : configureAPI
process.env.VUE_APP_BENEFIT_COUNT = 112
module.exports = {
configureWebpack: {
devtool: 'source-map'
},
chainWebpack(config) {
config.module
.rule('vue')
.use('vue-loader')
.loader('vue-loader')
.tap(options => ({
...options,
compilerOptions: {
...options.compilerOptions,
preserveWhitespace: true,
},
}));
},
devServer: {
before: before
}
}
Computing file changes ...