Skip to content
Snippets Groups Projects
Commit 74ab6190 authored by Yoan VALLET's avatar Yoan VALLET
Browse files

fix webpack config for dev environment

parent ba406121
No related branches found
No related tags found
3 merge requests!103Support,!102Dev,!78fix webpack config for dev environment
......@@ -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({
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment