Skip to content

Commit 36c535c

Browse files
committed
use rspack instead of webpack for compiling faaaaaaast
1 parent cc54dde commit 36c535c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

frontend/docusaurus.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ const config: Config = {
2424
organizationName: "openmultiplayer", // Usually your GitHub org/user name.
2525
projectName: "web", // Usually your repo name.
2626

27+
future: {
28+
experimental_faster: {
29+
swcJsLoader: true,
30+
swcJsMinimizer: true,
31+
swcHtmlMinimizer: true,
32+
lightningCssMinimizer: true,
33+
rspackBundler: true,
34+
mdxCrossCompilerCache: true,
35+
},
36+
},
37+
2738
onBrokenLinks: "ignore",
2839
onBrokenMarkdownLinks: "ignore",
2940
onBrokenAnchors: "ignore",

0 commit comments

Comments
 (0)