-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: patch-package terser to avoid oom
- Loading branch information
Showing
3 changed files
with
286 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,13 @@ | ||
diff --git a/node_modules/@docusaurus/core/lib/webpack/base.js b/node_modules/@docusaurus/core/lib/webpack/base.js | ||
index b409829..67384af 100644 | ||
--- a/node_modules/@docusaurus/core/lib/webpack/base.js | ||
+++ b/node_modules/@docusaurus/core/lib/webpack/base.js | ||
@@ -84,7 +84,7 @@ function createBaseConfig(props, isServer, minify) { | ||
? [ | ||
new terser_webpack_plugin_1.default({ | ||
cache: true, | ||
- parallel: true, | ||
+ parallel: false, // https://github.com/facebook/docusaurus/pull/3497 | ||
sourceMap: false, | ||
terserOptions: { | ||
parse: { |