Closed edsanville closed 1 week ago
Looks good to me but did not understand it all
I did do some refactoring of the webpack configuration.
The configuration is built by using the last line:
return [
Object.assign({}, baseConfig, modeConfig, jedConfig),
Object.assign({}, baseConfig, modeConfig, jccConfig),
];
This just takes a new empty object {}, and then updates it in place with the baseConfig, then the modeConfig, then the config for the target app... basically fusing the three configs together. I will add some comments to that effect.
Do not use devtool: eval-source-map option when building JCC for production, (reduces 35 MB product down to 7 MB!)