-
Notifications
You must be signed in to change notification settings - Fork 12k
Incremental angular build with esbuild can't locate secondary entrypoints in 3rd party libraries #27805
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
Comments
This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please? You can read here why this is needed. A good way to make a minimal repro is to create a new app via This might be related to your directory structure so its really important to get an accurate repro to diagnose this. |
Does this also apply to |
If those secondary entrypoints are using the |
Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information. If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template. |
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. |
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
No
Description
Incremental build with angular esbuild (@nx/angular:browser-esbuild and buildLibsFromSource=false) fails if referencing library secondary entrypoints in the code. It works with webpack (@nx/angular:webpack-browser), or when referencing secondary entrypoints in external libraries (from npm) (3rd party modules)
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
The text was updated successfully, but these errors were encountered: