@angular-builders - ignore certain script during in the optimisation phase
问题 I need to make Angular ignore a certain js file during the optimization phase (so that it's not optimized/minified) in prod build. For this purpose the @angular-builders package seemed like a viable solution. I setup the angular.json config as follows: "architect": { "build": { "builder": "@angular-builders/custom-webpack:browser", "options": { "customWebpackConfig": { "path": "./extended-webpack.config.js", "mergeStrategies": { "optimization": "replace" } }, The build configurations are as