Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move hoistExterns after dependency pruning to allow extern files as e…
…ntry points. When --experimental_fast mode is turned on for js_lib, it pulls in all of the srcs files as entry_points. However, some of them are externs, which originally are hoisted before dependency pruning. This will cause an error during dependency pruning along the lines of "required entry point <extens file> never provided". In order to unblock experimental_fast, this change moves externs hoisting until after dependency pruning so that externs files can be allowed as entry points. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=241411023
- Loading branch information
Showing
2 changed files
with
151 additions
and
10 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