mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-03-21 17:54:13 -05:00
Update Vite from v3 to v6
- vite: 3.2.8 → 6.4.1 - @vitejs/plugin-vue: 3.2.0 → 5.2.4 - Replaced @intlify/vite-plugin-vue-i18n with @intlify/unplugin-vue-i18n - Narrowed i18n include pattern to *.json to avoid parsing .mjs files This resolves the esbuild moderate severity vulnerability that was present in Vite <=6.1.6. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7c901f9ae7
commit
0462cc2d8c
2001
package-lock.json
generated
2001
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
|
@ -29,7 +29,7 @@
|
|||
"@aws-sdk/client-s3": "^3.341.0",
|
||||
"@headlessui/vue": "^1.7.23",
|
||||
"@heroicons/vue": "^2.2.0",
|
||||
"@intlify/vite-plugin-vue-i18n": "^6.0.3",
|
||||
"@intlify/unplugin-vue-i18n": "^11.0.3",
|
||||
"@sentry/node": "^10.38.0",
|
||||
"console-stamp": "^3.0.6",
|
||||
"cron": "^2.1.0",
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@dword-design/eslint-plugin-import-alias": "^5.0.0",
|
||||
"@vitejs/plugin-vue": "^3.1.0",
|
||||
"@vitejs/plugin-vue": "^5.2.4",
|
||||
"@vue/eslint-config-airbnb": "^8.0.0",
|
||||
"autoprefixer": "^10.4.12",
|
||||
"eslint": "^8.23.1",
|
||||
|
|
@ -65,6 +65,6 @@
|
|||
"eslint-plugin-vue": "^9.5.1",
|
||||
"postcss": "^8.4.16",
|
||||
"tailwindcss": "^3.1.8",
|
||||
"vite": "^3.1.3"
|
||||
"vite": "^6.4.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { fileURLToPath, URL } from 'url';
|
|||
|
||||
import { defineConfig } from 'vite';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
import vueI18n from '@intlify/vite-plugin-vue-i18n';
|
||||
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite';
|
||||
|
||||
const redirectToDist = [
|
||||
'/assets/splatnet/',
|
||||
|
|
@ -14,8 +14,8 @@ const redirectToDist = [
|
|||
export default defineConfig({
|
||||
plugins: [
|
||||
vue(),
|
||||
vueI18n({
|
||||
include: resolve(__dirname, './src/assets/i18n/**'),
|
||||
VueI18nPlugin({
|
||||
include: resolve(__dirname, './src/assets/i18n/*.json'),
|
||||
}),
|
||||
{
|
||||
// Quick hack to redirect dynamic assets to the /dist/ directory
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user