-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bazel): allow for linker mappings and external NPM package extra…
…ction in extract rule Updates the extract JS module output macro to support: * The extraction of external NPM package sources * The forwarding of linker mappings of the specified dependencies. Both of these things would be needed for extracting full-devmode sources in a way so that they can be fed into e.g. `esbuild` with proper module resolution. This is done in `angular/components` for example to speed up local development as devmode output is already ESM and ESBuild would by default request both devmoe + prodmode output. In general this rule is designed to help with the current situation of still building devmode + prodmode. In the future we can fully remove this rule if there is only a single output flavor using ESM!.
- Loading branch information
1 parent
e67feed
commit c0901db
Showing
1 changed file
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters