fix: 构建后报错

This commit is contained in:
unanmed 2025-09-02 13:54:37 +08:00
parent b34de95c06
commit 0b611c897a
4 changed files with 79 additions and 76 deletions

View File

@ -52,9 +52,9 @@
"@types/fontmin": "^0.9.5", "@types/fontmin": "^0.9.5",
"@types/fs-extra": "^11.0.4", "@types/fs-extra": "^11.0.4",
"@types/lodash-es": "^4.17.12", "@types/lodash-es": "^4.17.12",
"@types/node": "^18.19.80", "@types/node": "^22.18.0",
"@types/ws": "^8.18.0", "@types/ws": "^8.18.0",
"@vitejs/plugin-legacy": "^6.0.2", "@vitejs/plugin-legacy": "^7.2.1",
"@vitejs/plugin-vue": "^6.0.1", "@vitejs/plugin-vue": "^6.0.1",
"@vitejs/plugin-vue-jsx": "^5.1.1", "@vitejs/plugin-vue-jsx": "^5.1.1",
"archiver": "^7.0.1", "archiver": "^7.0.1",
@ -83,7 +83,7 @@
"tsx": "^4.20.5", "tsx": "^4.20.5",
"typescript": "^5.9.2", "typescript": "^5.9.2",
"typescript-eslint": "^8.27.0", "typescript-eslint": "^8.27.0",
"vite": "^6.3.5", "vite": "^7.0.0",
"vite-plugin-dts": "^4.5.4", "vite-plugin-dts": "^4.5.4",
"vitepress": "^1.6.3", "vitepress": "^1.6.3",
"vitepress-plugin-mermaid": "^2.0.17", "vitepress-plugin-mermaid": "^2.0.17",

View File

@ -109,20 +109,20 @@ importers:
specifier: ^4.17.12 specifier: ^4.17.12
version: 4.17.12 version: 4.17.12
'@types/node': '@types/node':
specifier: ^18.19.80 specifier: ^22.18.0
version: 18.19.123 version: 22.18.0
'@types/ws': '@types/ws':
specifier: ^8.18.0 specifier: ^8.18.0
version: 8.18.1 version: 8.18.1
'@vitejs/plugin-legacy': '@vitejs/plugin-legacy':
specifier: ^6.0.2 specifier: ^7.2.1
version: 6.1.1(terser@5.43.1)(vite@6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5)) version: 7.2.1(terser@5.43.1)(vite@7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5))
'@vitejs/plugin-vue': '@vitejs/plugin-vue':
specifier: ^6.0.1 specifier: ^6.0.1
version: 6.0.1(vite@6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5))(vue@3.5.20(typescript@5.9.2)) version: 6.0.1(vite@7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5))(vue@3.5.20(typescript@5.9.2))
'@vitejs/plugin-vue-jsx': '@vitejs/plugin-vue-jsx':
specifier: ^5.1.1 specifier: ^5.1.1
version: 5.1.1(vite@6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5))(vue@3.5.20(typescript@5.9.2)) version: 5.1.1(vite@7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5))(vue@3.5.20(typescript@5.9.2))
archiver: archiver:
specifier: ^7.0.1 specifier: ^7.0.1
version: 7.0.1 version: 7.0.1
@ -202,17 +202,17 @@ importers:
specifier: ^8.27.0 specifier: ^8.27.0
version: 8.41.0(eslint@9.34.0)(typescript@5.9.2) version: 8.41.0(eslint@9.34.0)(typescript@5.9.2)
vite: vite:
specifier: ^6.3.5 specifier: ^7.0.0
version: 6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5) version: 7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5)
vite-plugin-dts: vite-plugin-dts:
specifier: ^4.5.4 specifier: ^4.5.4
version: 4.5.4(@types/node@18.19.123)(rollup@4.49.0)(typescript@5.9.2)(vite@6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5)) version: 4.5.4(@types/node@22.18.0)(rollup@4.49.0)(typescript@5.9.2)(vite@7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5))
vitepress: vitepress:
specifier: ^1.6.3 specifier: ^1.6.3
version: 1.6.4(@algolia/client-search@5.36.0)(@types/node@18.19.123)(async-validator@4.2.5)(axios@1.11.0)(less@4.4.1)(markdown-it-mathjax3@4.3.2(encoding@0.1.13))(postcss@8.5.6)(search-insights@2.17.3)(terser@5.43.1)(typescript@5.9.2) version: 1.6.4(@algolia/client-search@5.36.0)(@types/node@22.18.0)(async-validator@4.2.5)(axios@1.11.0)(less@4.4.1)(markdown-it-mathjax3@4.3.2(encoding@0.1.13))(postcss@8.5.6)(search-insights@2.17.3)(terser@5.43.1)(typescript@5.9.2)
vitepress-plugin-mermaid: vitepress-plugin-mermaid:
specifier: ^2.0.17 specifier: ^2.0.17
version: 2.0.17(mermaid@11.10.1)(vitepress@1.6.4(@algolia/client-search@5.36.0)(@types/node@18.19.123)(async-validator@4.2.5)(axios@1.11.0)(less@4.4.1)(markdown-it-mathjax3@4.3.2(encoding@0.1.13))(postcss@8.5.6)(search-insights@2.17.3)(terser@5.43.1)(typescript@5.9.2)) version: 2.0.17(mermaid@11.10.1)(vitepress@1.6.4(@algolia/client-search@5.36.0)(@types/node@22.18.0)(async-validator@4.2.5)(axios@1.11.0)(less@4.4.1)(markdown-it-mathjax3@4.3.2(encoding@0.1.13))(postcss@8.5.6)(search-insights@2.17.3)(terser@5.43.1)(typescript@5.9.2))
vue-tsc: vue-tsc:
specifier: ^2.2.8 specifier: ^2.2.8
version: 2.2.12(typescript@5.9.2) version: 2.2.12(typescript@5.9.2)
@ -2351,6 +2351,9 @@ packages:
'@types/node@18.19.123': '@types/node@18.19.123':
resolution: {integrity: sha512-K7DIaHnh0mzVxreCR9qwgNxp3MH9dltPNIEddW9MYUlcKAzm+3grKNSTe2vCJHI1FaLpvpL5JGJrz1UZDKYvDg==} resolution: {integrity: sha512-K7DIaHnh0mzVxreCR9qwgNxp3MH9dltPNIEddW9MYUlcKAzm+3grKNSTe2vCJHI1FaLpvpL5JGJrz1UZDKYvDg==}
'@types/node@22.18.0':
resolution: {integrity: sha512-m5ObIqwsUp6BZzyiy4RdZpzWGub9bqLJMvZDD0QMXhxjqMHMENlj+SqF5QxoUwaQNFe+8kz8XM8ZQhqkQPTgMQ==}
'@types/qs@6.14.0': '@types/qs@6.14.0':
resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==} resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==}
@ -2446,12 +2449,12 @@ packages:
'@ungap/structured-clone@1.3.0': '@ungap/structured-clone@1.3.0':
resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==} resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
'@vitejs/plugin-legacy@6.1.1': '@vitejs/plugin-legacy@7.2.1':
resolution: {integrity: sha512-BvusL+mYZ0q5qS5Rq3D70QxZBmhyiHRaXLtYJHH5AEsAmdSqJR4xe5KwMi1H3w8/9lVJwhkLYqFQ9vmWYWy6kA==} resolution: {integrity: sha512-CaXb/y0mlfu7jQRELEJJc2/5w2bX2m1JraARgFnvSB2yfvnCNJVWWlqAo6WjnKoepOwKx8gs0ugJThPLKCOXIg==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} engines: {node: ^20.19.0 || >=22.12.0}
peerDependencies: peerDependencies:
terser: ^5.16.0 terser: ^5.16.0
vite: ^6.0.0 vite: ^7.0.0
'@vitejs/plugin-vue-jsx@5.1.1': '@vitejs/plugin-vue-jsx@5.1.1':
resolution: {integrity: sha512-uQkfxzlF8SGHJJVH966lFTdjM/lGcwJGzwAHpVqAPDD/QcsqoUGa+q31ox1BrUfi+FLP2ChVp7uLXE3DkHyDdQ==} resolution: {integrity: sha512-uQkfxzlF8SGHJJVH966lFTdjM/lGcwJGzwAHpVqAPDD/QcsqoUGa+q31ox1BrUfi+FLP2ChVp7uLXE3DkHyDdQ==}
@ -5807,6 +5810,9 @@ packages:
undici-types@5.26.5: undici-types@5.26.5:
resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
undici-types@6.21.0:
resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
unicode-canonical-property-names-ecmascript@2.0.1: unicode-canonical-property-names-ecmascript@2.0.1:
resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==} resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==}
engines: {node: '>=4'} engines: {node: '>=4'}
@ -5952,19 +5958,19 @@ packages:
terser: terser:
optional: true optional: true
vite@6.3.5: vite@7.0.0:
resolution: {integrity: sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==} resolution: {integrity: sha512-ixXJB1YRgDIw2OszKQS9WxGHKwLdCsbQNkpJN171udl6szi/rIySHL6/Os3s2+oE4P/FLD4dxg4mD7Wust+u5g==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
'@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 '@types/node': ^20.19.0 || >=22.12.0
jiti: '>=1.21.0' jiti: '>=1.21.0'
less: '*' less: ^4.0.0
lightningcss: ^1.21.0 lightningcss: ^1.21.0
sass: '*' sass: ^1.70.0
sass-embedded: '*' sass-embedded: ^1.70.0
stylus: '*' stylus: '>=0.54.8'
sugarss: '*' sugarss: ^5.0.0
terser: ^5.16.0 terser: ^5.16.0
tsx: ^4.8.1 tsx: ^4.8.1
yaml: ^2.4.2 yaml: ^2.4.2
@ -7582,23 +7588,23 @@ snapshots:
dependencies: dependencies:
langium: 3.3.1 langium: 3.3.1
'@microsoft/api-extractor-model@7.30.7(@types/node@18.19.123)': '@microsoft/api-extractor-model@7.30.7(@types/node@22.18.0)':
dependencies: dependencies:
'@microsoft/tsdoc': 0.15.1 '@microsoft/tsdoc': 0.15.1
'@microsoft/tsdoc-config': 0.17.1 '@microsoft/tsdoc-config': 0.17.1
'@rushstack/node-core-library': 5.14.0(@types/node@18.19.123) '@rushstack/node-core-library': 5.14.0(@types/node@22.18.0)
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node' - '@types/node'
'@microsoft/api-extractor@7.52.11(@types/node@18.19.123)': '@microsoft/api-extractor@7.52.11(@types/node@22.18.0)':
dependencies: dependencies:
'@microsoft/api-extractor-model': 7.30.7(@types/node@18.19.123) '@microsoft/api-extractor-model': 7.30.7(@types/node@22.18.0)
'@microsoft/tsdoc': 0.15.1 '@microsoft/tsdoc': 0.15.1
'@microsoft/tsdoc-config': 0.17.1 '@microsoft/tsdoc-config': 0.17.1
'@rushstack/node-core-library': 5.14.0(@types/node@18.19.123) '@rushstack/node-core-library': 5.14.0(@types/node@22.18.0)
'@rushstack/rig-package': 0.5.3 '@rushstack/rig-package': 0.5.3
'@rushstack/terminal': 0.15.4(@types/node@18.19.123) '@rushstack/terminal': 0.15.4(@types/node@22.18.0)
'@rushstack/ts-command-line': 5.0.2(@types/node@18.19.123) '@rushstack/ts-command-line': 5.0.2(@types/node@22.18.0)
lodash: 4.17.21 lodash: 4.17.21
minimatch: 10.0.3 minimatch: 10.0.3
resolve: 1.22.10 resolve: 1.22.10
@ -7785,7 +7791,7 @@ snapshots:
'@rollup/rollup-win32-x64-msvc@4.49.0': '@rollup/rollup-win32-x64-msvc@4.49.0':
optional: true optional: true
'@rushstack/node-core-library@5.14.0(@types/node@18.19.123)': '@rushstack/node-core-library@5.14.0(@types/node@22.18.0)':
dependencies: dependencies:
ajv: 8.13.0 ajv: 8.13.0
ajv-draft-04: 1.0.0(ajv@8.13.0) ajv-draft-04: 1.0.0(ajv@8.13.0)
@ -7796,23 +7802,23 @@ snapshots:
resolve: 1.22.10 resolve: 1.22.10
semver: 7.5.4 semver: 7.5.4
optionalDependencies: optionalDependencies:
'@types/node': 18.19.123 '@types/node': 22.18.0
'@rushstack/rig-package@0.5.3': '@rushstack/rig-package@0.5.3':
dependencies: dependencies:
resolve: 1.22.10 resolve: 1.22.10
strip-json-comments: 3.1.1 strip-json-comments: 3.1.1
'@rushstack/terminal@0.15.4(@types/node@18.19.123)': '@rushstack/terminal@0.15.4(@types/node@22.18.0)':
dependencies: dependencies:
'@rushstack/node-core-library': 5.14.0(@types/node@18.19.123) '@rushstack/node-core-library': 5.14.0(@types/node@22.18.0)
supports-color: 8.1.1 supports-color: 8.1.1
optionalDependencies: optionalDependencies:
'@types/node': 18.19.123 '@types/node': 22.18.0
'@rushstack/ts-command-line@5.0.2(@types/node@18.19.123)': '@rushstack/ts-command-line@5.0.2(@types/node@22.18.0)':
dependencies: dependencies:
'@rushstack/terminal': 0.15.4(@types/node@18.19.123) '@rushstack/terminal': 0.15.4(@types/node@22.18.0)
'@types/argparse': 1.0.38 '@types/argparse': 1.0.38
argparse: 1.0.10 argparse: 1.0.10
string-argv: 0.3.2 string-argv: 0.3.2
@ -8095,6 +8101,10 @@ snapshots:
dependencies: dependencies:
undici-types: 5.26.5 undici-types: 5.26.5
'@types/node@22.18.0':
dependencies:
undici-types: 6.21.0
'@types/qs@6.14.0': {} '@types/qs@6.14.0': {}
'@types/range-parser@1.2.7': {} '@types/range-parser@1.2.7': {}
@ -8226,10 +8236,14 @@ snapshots:
'@ungap/structured-clone@1.3.0': {} '@ungap/structured-clone@1.3.0': {}
'@vitejs/plugin-legacy@6.1.1(terser@5.43.1)(vite@6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5))': '@vitejs/plugin-legacy@7.2.1(terser@5.43.1)(vite@7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5))':
dependencies: dependencies:
'@babel/core': 7.28.3 '@babel/core': 7.28.3
'@babel/plugin-transform-dynamic-import': 7.27.1(@babel/core@7.28.3)
'@babel/plugin-transform-modules-systemjs': 7.27.1(@babel/core@7.28.3)
'@babel/preset-env': 7.28.3(@babel/core@7.28.3) '@babel/preset-env': 7.28.3(@babel/core@7.28.3)
babel-plugin-polyfill-corejs3: 0.13.0(@babel/core@7.28.3)
babel-plugin-polyfill-regenerator: 0.6.5(@babel/core@7.28.3)
browserslist: 4.25.3 browserslist: 4.25.3
browserslist-to-esbuild: 2.1.1(browserslist@4.25.3) browserslist-to-esbuild: 2.1.1(browserslist@4.25.3)
core-js: 3.45.1 core-js: 3.45.1
@ -8237,31 +8251,31 @@ snapshots:
regenerator-runtime: 0.14.1 regenerator-runtime: 0.14.1
systemjs: 6.15.1 systemjs: 6.15.1
terser: 5.43.1 terser: 5.43.1
vite: 6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5) vite: 7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
'@vitejs/plugin-vue-jsx@5.1.1(vite@6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5))(vue@3.5.20(typescript@5.9.2))': '@vitejs/plugin-vue-jsx@5.1.1(vite@7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5))(vue@3.5.20(typescript@5.9.2))':
dependencies: dependencies:
'@babel/core': 7.28.3 '@babel/core': 7.28.3
'@babel/plugin-syntax-typescript': 7.27.1(@babel/core@7.28.3) '@babel/plugin-syntax-typescript': 7.27.1(@babel/core@7.28.3)
'@babel/plugin-transform-typescript': 7.28.0(@babel/core@7.28.3) '@babel/plugin-transform-typescript': 7.28.0(@babel/core@7.28.3)
'@rolldown/pluginutils': 1.0.0-beta.34 '@rolldown/pluginutils': 1.0.0-beta.34
'@vue/babel-plugin-jsx': 1.5.0(@babel/core@7.28.3) '@vue/babel-plugin-jsx': 1.5.0(@babel/core@7.28.3)
vite: 6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5) vite: 7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5)
vue: 3.5.20(typescript@5.9.2) vue: 3.5.20(typescript@5.9.2)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
'@vitejs/plugin-vue@5.2.4(vite@5.4.19(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1))(vue@3.5.20(typescript@5.9.2))': '@vitejs/plugin-vue@5.2.4(vite@5.4.19(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1))(vue@3.5.20(typescript@5.9.2))':
dependencies: dependencies:
vite: 5.4.19(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1) vite: 5.4.19(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)
vue: 3.5.20(typescript@5.9.2) vue: 3.5.20(typescript@5.9.2)
'@vitejs/plugin-vue@6.0.1(vite@6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5))(vue@3.5.20(typescript@5.9.2))': '@vitejs/plugin-vue@6.0.1(vite@7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5))(vue@3.5.20(typescript@5.9.2))':
dependencies: dependencies:
'@rolldown/pluginutils': 1.0.0-beta.29 '@rolldown/pluginutils': 1.0.0-beta.29
vite: 6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5) vite: 7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5)
vue: 3.5.20(typescript@5.9.2) vue: 3.5.20(typescript@5.9.2)
'@volar/language-core@2.4.15': '@volar/language-core@2.4.15':
@ -12211,6 +12225,8 @@ snapshots:
undici-types@5.26.5: {} undici-types@5.26.5: {}
undici-types@6.21.0: {}
unicode-canonical-property-names-ecmascript@2.0.1: {} unicode-canonical-property-names-ecmascript@2.0.1: {}
unicode-match-property-ecmascript@2.0.0: unicode-match-property-ecmascript@2.0.0:
@ -12333,9 +12349,9 @@ snapshots:
replace-ext: 2.0.0 replace-ext: 2.0.0
teex: 1.0.1 teex: 1.0.1
vite-plugin-dts@4.5.4(@types/node@18.19.123)(rollup@4.49.0)(typescript@5.9.2)(vite@6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5)): vite-plugin-dts@4.5.4(@types/node@22.18.0)(rollup@4.49.0)(typescript@5.9.2)(vite@7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5)):
dependencies: dependencies:
'@microsoft/api-extractor': 7.52.11(@types/node@18.19.123) '@microsoft/api-extractor': 7.52.11(@types/node@22.18.0)
'@rollup/pluginutils': 5.2.0(rollup@4.49.0) '@rollup/pluginutils': 5.2.0(rollup@4.49.0)
'@volar/typescript': 2.4.23 '@volar/typescript': 2.4.23
'@vue/language-core': 2.2.0(typescript@5.9.2) '@vue/language-core': 2.2.0(typescript@5.9.2)
@ -12346,24 +12362,24 @@ snapshots:
magic-string: 0.30.18 magic-string: 0.30.18
typescript: 5.9.2 typescript: 5.9.2
optionalDependencies: optionalDependencies:
vite: 6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5) vite: 7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5)
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node' - '@types/node'
- rollup - rollup
- supports-color - supports-color
vite@5.4.19(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1): vite@5.4.19(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1):
dependencies: dependencies:
esbuild: 0.21.5 esbuild: 0.21.5
postcss: 8.5.6 postcss: 8.5.6
rollup: 4.49.0 rollup: 4.49.0
optionalDependencies: optionalDependencies:
'@types/node': 18.19.123 '@types/node': 22.18.0
fsevents: 2.3.3 fsevents: 2.3.3
less: 4.4.1 less: 4.4.1
terser: 5.43.1 terser: 5.43.1
vite@6.3.5(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5): vite@7.0.0(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)(tsx@4.20.5):
dependencies: dependencies:
esbuild: 0.25.9 esbuild: 0.25.9
fdir: 6.5.0(picomatch@4.0.3) fdir: 6.5.0(picomatch@4.0.3)
@ -12372,20 +12388,20 @@ snapshots:
rollup: 4.49.0 rollup: 4.49.0
tinyglobby: 0.2.14 tinyglobby: 0.2.14
optionalDependencies: optionalDependencies:
'@types/node': 18.19.123 '@types/node': 22.18.0
fsevents: 2.3.3 fsevents: 2.3.3
less: 4.4.1 less: 4.4.1
terser: 5.43.1 terser: 5.43.1
tsx: 4.20.5 tsx: 4.20.5
vitepress-plugin-mermaid@2.0.17(mermaid@11.10.1)(vitepress@1.6.4(@algolia/client-search@5.36.0)(@types/node@18.19.123)(async-validator@4.2.5)(axios@1.11.0)(less@4.4.1)(markdown-it-mathjax3@4.3.2(encoding@0.1.13))(postcss@8.5.6)(search-insights@2.17.3)(terser@5.43.1)(typescript@5.9.2)): vitepress-plugin-mermaid@2.0.17(mermaid@11.10.1)(vitepress@1.6.4(@algolia/client-search@5.36.0)(@types/node@22.18.0)(async-validator@4.2.5)(axios@1.11.0)(less@4.4.1)(markdown-it-mathjax3@4.3.2(encoding@0.1.13))(postcss@8.5.6)(search-insights@2.17.3)(terser@5.43.1)(typescript@5.9.2)):
dependencies: dependencies:
mermaid: 11.10.1 mermaid: 11.10.1
vitepress: 1.6.4(@algolia/client-search@5.36.0)(@types/node@18.19.123)(async-validator@4.2.5)(axios@1.11.0)(less@4.4.1)(markdown-it-mathjax3@4.3.2(encoding@0.1.13))(postcss@8.5.6)(search-insights@2.17.3)(terser@5.43.1)(typescript@5.9.2) vitepress: 1.6.4(@algolia/client-search@5.36.0)(@types/node@22.18.0)(async-validator@4.2.5)(axios@1.11.0)(less@4.4.1)(markdown-it-mathjax3@4.3.2(encoding@0.1.13))(postcss@8.5.6)(search-insights@2.17.3)(terser@5.43.1)(typescript@5.9.2)
optionalDependencies: optionalDependencies:
'@mermaid-js/mermaid-mindmap': 9.3.0 '@mermaid-js/mermaid-mindmap': 9.3.0
vitepress@1.6.4(@algolia/client-search@5.36.0)(@types/node@18.19.123)(async-validator@4.2.5)(axios@1.11.0)(less@4.4.1)(markdown-it-mathjax3@4.3.2(encoding@0.1.13))(postcss@8.5.6)(search-insights@2.17.3)(terser@5.43.1)(typescript@5.9.2): vitepress@1.6.4(@algolia/client-search@5.36.0)(@types/node@22.18.0)(async-validator@4.2.5)(axios@1.11.0)(less@4.4.1)(markdown-it-mathjax3@4.3.2(encoding@0.1.13))(postcss@8.5.6)(search-insights@2.17.3)(terser@5.43.1)(typescript@5.9.2):
dependencies: dependencies:
'@docsearch/css': 3.8.2 '@docsearch/css': 3.8.2
'@docsearch/js': 3.8.2(@algolia/client-search@5.36.0)(search-insights@2.17.3) '@docsearch/js': 3.8.2(@algolia/client-search@5.36.0)(search-insights@2.17.3)
@ -12394,7 +12410,7 @@ snapshots:
'@shikijs/transformers': 2.5.0 '@shikijs/transformers': 2.5.0
'@shikijs/types': 2.5.0 '@shikijs/types': 2.5.0
'@types/markdown-it': 14.1.2 '@types/markdown-it': 14.1.2
'@vitejs/plugin-vue': 5.2.4(vite@5.4.19(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1))(vue@3.5.20(typescript@5.9.2)) '@vitejs/plugin-vue': 5.2.4(vite@5.4.19(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1))(vue@3.5.20(typescript@5.9.2))
'@vue/devtools-api': 7.7.7 '@vue/devtools-api': 7.7.7
'@vue/shared': 3.5.20 '@vue/shared': 3.5.20
'@vueuse/core': 12.8.2(typescript@5.9.2) '@vueuse/core': 12.8.2(typescript@5.9.2)
@ -12403,7 +12419,7 @@ snapshots:
mark.js: 8.11.1 mark.js: 8.11.1
minisearch: 7.1.2 minisearch: 7.1.2
shiki: 2.5.0 shiki: 2.5.0
vite: 5.4.19(@types/node@18.19.123)(less@4.4.1)(terser@5.43.1) vite: 5.4.19(@types/node@22.18.0)(less@4.4.1)(terser@5.43.1)
vue: 3.5.20(typescript@5.9.2) vue: 3.5.20(typescript@5.9.2)
optionalDependencies: optionalDependencies:
markdown-it-mathjax3: 4.3.2(encoding@0.1.13) markdown-it-mathjax3: 4.3.2(encoding@0.1.13)

View File

@ -44,7 +44,6 @@ async function buildClient(outDir: string) {
'Opera >= 43' 'Opera >= 43'
], ],
polyfills: true, polyfills: true,
modernPolyfills: true,
renderModernChunks: false renderModernChunks: false
}) })
], ],
@ -60,18 +59,6 @@ async function buildClient(outDir: string) {
assetFileNames: 'assets/[name].[hash][extname]', assetFileNames: 'assets/[name].[hash][extname]',
manualChunks: { manualChunks: {
antdv: ['ant-design-vue', '@ant-design/icons-vue'], antdv: ['ant-design-vue', '@ant-design/icons-vue'],
common: [
'lodash-es',
'axios',
'lz-string',
'chart.js',
'mutate-animate',
'eventemitter3',
'gl-matrix',
'jszip',
'anon-tokyo',
'vue'
],
audio: [ audio: [
'codec-parser', 'codec-parser',
'opus-decoder', 'opus-decoder',

View File

@ -2,8 +2,8 @@
"compilerOptions": { "compilerOptions": {
"target": "ESNext", "target": "ESNext",
"composite": true, "composite": true,
"module": "nodenext", "module": "esnext",
"moduleResolution": "nodenext", "moduleResolution": "bundler",
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"strict": true "strict": true
}, },