Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tolerate undeclared exports until @babel/parser@7.5.0 is released. (#230
) babel/babel#9864 This hack narrowly targets @babel/parser@7.4.x by tricking Array.from(this.scope.undefinedExports) into returning an empty array, thereby simulating the effect of enabling the allowUndeclaredExports option (which will become available in @babel/parser@7.5.0).
- Loading branch information
Showing
3 changed files
with
31 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { Array as GlobalArray } |