diff --git a/.github/workflows/stage_deploy_docusaurus.yml b/.github/workflows/stage_deploy_docusaurus.yml index 3745738..00e446d 100644 --- a/.github/workflows/stage_deploy_docusaurus.yml +++ b/.github/workflows/stage_deploy_docusaurus.yml @@ -66,7 +66,9 @@ jobs: - run: npm run copy - name: Build website run: | - export NODE_OPTIONS="--max_old_space_size=15360" + export NODE_OPTIONS="--max-old-space-size=4096" + export DOCUSAURUS_SSR_CONCURRENCY=2 + export DOCUSAURUS_PERF_LOGGER=true export DOCUSAURUS_IGNORE_SSG_WARNINGS=true if [[ $INPUTS_VERSIONS == 'TopTwo' ]]; then export BUILD_FAST=true diff --git a/docusaurus.config.js b/docusaurus.config.js index 257b4d3..b234f4c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -45,6 +45,18 @@ const config = { future: { v4: true, + experimental_faster: + { + // Verbose object: easier to independently test single attributes + swcJsLoader: true, + swcJsMinimizer: true, + swcHtmlMinimizer: true, + lightningCssMinimizer: true, + mdxCrossCompilerCache: true, + rspackBundler: true, + ssgWorkerThreads: true, + rspackPersistentCache: false, + }, }, i18n: {