-
Notifications
You must be signed in to change notification settings - Fork 12k
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
sourcemaps for libraries are not included #11715
Comments
Most likely you need to enable |
enabling vendorSourceMap doesn't change anything on this issue |
I have tried this out and adding Here's an extract from my "build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"vendorSourceMap": true,
"outputPath": "dist/some-app-name",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"scripts": []
}, |
the property in angular.json works, but is not compatible with the schema.json |
there is a solution for this ? I created a lib following this https://angular.io/guide/creating-libraries I try to add Thank's Mike |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
Repro steps
ng new some-app-name
ng generate library some-lib-name
ng build some-lib-name
ng serve
open chrome, point to http://localhost:4200 and open developer tools.
Desired functionality
Developer tools should show the original source code (ts code) for the library
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: