You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we add separate dev/prod config settings which apply depending on context?
Currently production settings need to be commented out (debug:true) or changed (devtool: 'eval') in webpack.config between dev/prod scenarios. This is not ideal.
There are two prevalent solutions for separate webpack dev/prod configs.
(1) Using npm webpack-merge and environment variables to TARGET dev/prod in same config file. SurviveJS implementation
(2) Using two separate webpack.config files for dev/prod. This is more common solution on most projects I have studied.
Activity
[-]Separate dev/prod configs.[/-][+]Separate dev/prod configs[/+]PatrickJS commentedon Dec 28, 2015
I have this and #174 done locally. I'm trying to make it easier and I may end up making 3 webpack configs
development,production, andtestmanavsehgal commentedon Dec 28, 2015
@gdi2290 Many thanks for your prompt response and action! Looking forward to pulling this change.
PatrickJS commentedon Jan 3, 2016
done via cf4b3f2...master