Closed mjul closed 9 years ago
+1
@mjul: Technically speaking you are right. But try it out, you will see that it does not work. This is because it will alter the first entry to include the merge, which means the baseConfig will be altered when the files are loaded. This results in dev enviroment beeing overridden. Therefore, I opted to override a plain object, which does not do any harm. Sorry, have to roll back this
In lodash _.merge the last entry wins, so I have moved the baseConfig to the front of the merge, so that the locally defined settings in dev.js and dist.js will have priority.