Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error when bundle prettier with webpack (#12511)
- Loading branch information
Showing
4 changed files
with
34 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
#### Make artifact friendly for `webpack` (#12485 by @fisker) | ||
#### Make artifact friendly for webpack (#12485, #12511 by @fisker) | ||
|
||
Previously, when bundling our UMD files `standalone.js`, `parser-typescript.js`, `webpack` warn about "Critical dependency: the request of a dependency is an expression", now this is fixed. | ||
Fixes two problems when bundling our UMD files with webpack: | ||
|
||
- A error `` "`....__exportStar` is not a function" `` throws when running the bundles. | ||
- Some files cause warning about `"Critical dependency: the request of a dependency is an expression"`. |
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