Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/stage_deploy_docusaurus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down