feat: 新的构建目标

This commit is contained in:
unanmed 2024-04-20 09:39:30 +08:00
parent 7c8b179104
commit 931fa4a464
3 changed files with 438 additions and 369 deletions

View File

@ -62,7 +62,7 @@
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"unplugin-vue-components": "^0.22.12",
"vite": "^4.4.9",
"vite": "^4.5.3",
"vite-plugin-dts": "^3.7.2",
"vitepress": "1.0.0-rc.41",
"vue-tsc": "^1.8.8",

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ const compress = type === 'dist';
await vite.build({
plugins: [
legacy({
targets: ['defaults', 'not IE 11'],
targets: ['since 2015', '> 50%'],
polyfills: true,
modernPolyfills: true
})