From 74ab61905707c8f18e00df97e6723ac35ac23afd Mon Sep 17 00:00:00 2001 From: Yoan VALLET <ext.sopra.yvallet@grandlyon.com> Date: Wed, 26 Aug 2020 15:21:11 +0200 Subject: [PATCH] fix webpack config for dev environment --- app.config.environment.dev.js | 2 +- app.config.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app.config.environment.dev.js b/app.config.environment.dev.js index 14d6a3ca2..d07de287b 100644 --- a/app.config.environment.dev.js +++ b/app.config.environment.dev.js @@ -2,7 +2,7 @@ const webpack = require('webpack') const merge = require('webpack-merge') -const { useHotReload, devtool } = require('./webpack.vars') +const { useHotReload, devtool } = require('cozy-scripts/config/webpack.vars') let plugins = [ new webpack.DefinePlugin({ diff --git a/app.config.js b/app.config.js index 441171d42..6a221b513 100644 --- a/app.config.js +++ b/app.config.js @@ -33,9 +33,9 @@ const configs = [ ] if (environment === 'production') { - configs.push(require('./app.config.environment.dev')) -} else { configs.push(require('cozy-scripts/config/webpack.environment.prod')) +} else { + configs.push(require('./app.config.environment.dev')) } //module.exports = merge.apply(null, configs) -- GitLab