Merge remote-tracking branch 'TenviLi/chore/upgrade-vite-8'

This commit is contained in:
Matt Isenhower
2026-08-30 15:50:33 -07:00
3 changed files with 1620 additions and 1710 deletions

3302
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -39,7 +39,6 @@
"@aws-sdk/client-s3": "^3.341.0",
"@headlessui/vue": "^1.7.23",
"@heroicons/vue": "^2.2.0",
"@intlify/unplugin-vue-i18n": "^11.0.3",
"@sentry/node": "^10.38.0",
"console-stamp": "^3.0.6",
"cron": "^4.4.0",
@@ -59,23 +58,24 @@
"sirv": "^3.0.2",
"tar-stream": "^3.2.0",
"twitter-api-v2": "^1.29.0",
"vue": "^3.5.28",
"vue-i18n": "^11.2.8",
"vue": "^3.5.42",
"vue-i18n": "^11.4.10",
"vue-router": "^5.0.2"
},
"devDependencies": {
"@dword-design/eslint-plugin-import-alias": "^8.1.3",
"@eslint/js": "^9.39.2",
"@tailwindcss/vite": "^4.1.18",
"@vitejs/plugin-vue": "^6.0.4",
"@intlify/unplugin-vue-i18n": "^11.2.5",
"@tailwindcss/vite": "^4.3.3",
"@vitejs/plugin-vue": "^6.0.8",
"eslint": "^9.39.2",
"eslint-plugin-jsdoc": "^62.5.5",
"eslint-plugin-vue": "^10.8.0",
"globals": "^17.3.0",
"tailwindcss": "^4.1.18",
"tailwindcss": "^4.3.3",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vitest": "^4.0.18",
"vite": "^8.2.2",
"vitest": "^4.1.11",
"vue-eslint-parser": "^10.4.0"
}
}

View File

@@ -13,11 +13,15 @@ const redirectToDist = [
// https://vitejs.dev/config/
export default defineConfig({
input: {
main: resolve(import.meta.dirname, 'index.html'),
screenshots: resolve(import.meta.dirname, 'screenshots/index.html'),
},
plugins: [
vue(),
tailwindcss(),
VueI18nPlugin({
include: resolve(__dirname, './src/assets/i18n/*.json'),
include: resolve(import.meta.dirname, './src/assets/i18n/*.json'),
}),
{
// Quick hack to redirect dynamic assets to the /dist/ directory
@@ -39,11 +43,5 @@ export default defineConfig({
},
build: {
emptyOutDir: false,
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
screenshots: resolve(__dirname, 'screenshots/index.html'),
},
},
},
});