Force devtool: none to avoid issues with env.noOptimize

Change-type: patch
This commit is contained in:
Pagan Gazzard 2018-12-20 16:42:32 +00:00
parent 77dd1d0a44
commit 1130ecd3ce

View File

@ -55,6 +55,7 @@ console.log('Using the following dependencies as external:', externalModules);
module.exports = function (env) {
return {
mode: env == null || !env.noOptimize ? 'production' : 'development',
devtool: 'none',
entry: './src/app.coffee',
output: {
filename: 'app.js',