-
-
Notifications
You must be signed in to change notification settings - Fork 522
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure that webpack is run once per arch for universal builds (#…
…3433) * fix: ensure that webpack is run once per arch for universal builds On universal webpack builds we capture native_modules from node_modules and store them in .webpack, these means the packager level rebuild hook doesn't rebuild anything. We need to rebuild once-per-arch which means we also need to webpack once-per-arch. Currently this is fairly naive and missing some things but is safe to land in it's current form and we can improve on it later. * We build webpack runs sequentially, this is because they share a node_modules folder, we could probably instead run webpack once and map native_modules to their resolved webpack locations and rebuild N times but only run webpack once * We hardcode the universal -> arm64/x64 mapping, this can probably be extended to resolving all packager matrixes * build: fix webpack test tsc
- Loading branch information
1 parent
a7efb59
commit f3cd9c6
Showing
4 changed files
with
273 additions
and
165 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
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
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
Oops, something went wrong.