Commit bfb63d1
committed
docs: fix landing build by pinning NODE_ENV and bumping @swc/core
Docusaurus + React 19.2 SSR was failing with `dispatcher.getOwner is
not a function` because React's dev build was loading before NODE_ENV
got set, mismatching the production react-dom-server. Setting
NODE_ENV=production directly on the build script keeps both halves on
the same build. Also override @swc/core to ^1.15.30 so the SWC JS
minifier accepts the `extractComments` field passed by terser-webpack-
plugin. Tweak adapter-swap header icon placement while here.
Made-with: Cursor1 parent c7786ed commit bfb63d1
4 files changed
Lines changed: 498 additions & 476 deletions
File tree
- documentation
- src/components/landing/features/animations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | | - | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
296 | 295 | | |
| 296 | + | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| |||
0 commit comments