-
-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom-webpack does not respect "sourceMap": { "hidden": true } #308
Comments
Webpack setting that is responsible for source maps called |
Which version of Angular you're on? If you use plain |
webpack config:
Im unable to use regular angular build thats why Im using custom webpack |
Would you mind sharing the whole angular.json config + the way you're running the build? |
"build-staging": "ng build --configuration staging --base-href /proof/ --progress true --sourceMap --prod", just add sourceMap config I sent previosly |
|
Okay I see my mistake, running with --sourceMap overwrote setting. |
Describe the bug
When setting:
"sourceMap": {
"scripts": true,
"hidden": true
},
build still appends sourcePaths to js files.
To Reproduce
Steps to reproduce the behavior:
Add "sourceMap": {
"scripts": true,
"hidden": true
},
Expected behavior
The sourcemap path should not be visible
Screenshots
Builder:
@angular-builders/custom-webpack:browser
7.4.3
The text was updated successfully, but these errors were encountered: