Skip to content

Commit

Permalink
[GHA] Tweak docusaurus optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
CristianLara committed Feb 6, 2025
1 parent 918d402 commit e9cd51d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/publish_website_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,5 @@ jobs:
run: |
python scripts/run_tutorials.py -w $(pwd)
- name: Build website
# the converted tutorials are failing to build in CI but not locally,
# here we continue-on-error then upload the converted tutorials to see what's going on.
continue-on-error: true
run: |
bash scripts/make_docs.sh -b
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
10 changes: 10 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ module.exports={
"future": {
"experimental_faster": true,
},
future: {
experimental_faster: {
swcJsLoader: false,
swcJsMinimizer: true,
swcHtmlMinimizer: true,
lightningCssMinimizer: true,
rspackBundler: true,
mdxCrossCompilerCache: true,
},
},
"presets": [
[
"@docusaurus/preset-classic",
Expand Down

0 comments on commit e9cd51d

Please sign in to comment.