Revision d95bb5922d808a66fcd5379e99a5575033e42ffe authored by Thomas Guillet on 11 January 2021, 17:20:34 UTC, committed by GitHub on 11 January 2021, 17:20:34 UTC
* Supprime d3 * Met à jour kerberos * Met à jour sass-loader
1 parent bf997c4
vue.config.js
const configureAPI = require('./configure')
const mock = require('./mock')
const before = process.env.NODE_ENV === 'front_only' ? mock : configureAPI
var { forEach } = require('./app/js/constants/benefits/back')
let count = 0
forEach(() => {
count = count + 1
})
process.env.VUE_APP_BENEFIT_COUNT = count
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 ...