Skip to content
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

Angular 19 Build unable to use sourcemaps for locally mapped library #29654

Open
TheKrisSodroski opened this issue Feb 16, 2025 · 1 comment
Open

Comments

@TheKrisSodroski
Copy link

Which @angular/* package(s) are the source of the bug?

compiler

Is this a regression?

Yes

Description

When watching a locally mapped library, once the library is rebuilt, sourcemaps for the library are lost completely.

Please provide a link to a minimal reproduction of the bug

https://github.com/TheKrisSodroski/Angular19LibraryWatchBug

Please provide the exception or error you saw

Dev Tools is unable to show the true source of the newly generated code.

Please provide the environment you discovered this bug in (run ng version)

_                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 19.1.7
Node: 20.17.0
Package Manager: npm 10.8.2
OS: win32 x64

Angular: 19.1.6
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1901.7
@angular-devkit/build-angular   19.1.7
@angular-devkit/core            19.1.7
@angular-devkit/schematics      19.1.7
@angular/cli                    19.1.7
@schematics/angular             19.1.7
rxjs                            7.8.1
typescript                      5.7.3
zone.js                         0.15.0

Anything else?

Github reproduction repo contains a readme with additional information:

https://github.com/TheKrisSodroski/Angular19LibraryWatchBug

@JoostK JoostK transferred this issue from angular/angular Feb 16, 2025
@roma2341
Copy link

roma2341 commented Feb 18, 2025

Weird issue, angular builds sourcemaps for some components and doesn't build for other components inside my project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants