mirror of
https://github.com/seerr-team/seerr.git
synced 2026-05-19 14:18:39 -04:00
fix(docs): switch to SWC minimizer to fix broken runtime bundle
Terser emits digit-prefixed hex chunk-name keys unquoted in webpack's runtime, producing an invalid object literal that crashes hydration. SWC quotes them correctly. fix #3035
This commit is contained in:
@@ -12,6 +12,12 @@ const config: Config = {
|
||||
baseUrl: '/',
|
||||
trailingSlash: false,
|
||||
|
||||
future: {
|
||||
faster: {
|
||||
swcJsMinimizer: true,
|
||||
},
|
||||
},
|
||||
|
||||
organizationName: 'seerr-team',
|
||||
projectName: 'seerr',
|
||||
deploymentBranch: 'gh-pages',
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "3.10.1",
|
||||
"@docusaurus/faster": "^3.10.1",
|
||||
"@docusaurus/preset-classic": "3.10.1",
|
||||
"@easyops-cn/docusaurus-search-local": "^0.55.1",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
|
||||
1039
gen-docs/pnpm-lock.yaml
generated
1039
gen-docs/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user