mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-04-06 02:01:58 +02:00
try updating vite to latest (#438)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
"@fontsource/poppins": "^4.5.8",
|
||||
"@formatjs/intl-localematcher": "^0.2.32",
|
||||
"@tauri-apps/api": "^1.2.0",
|
||||
"@vitejs/plugin-react": "^2.2.0",
|
||||
"@vitejs/plugin-react": "^3.0.0",
|
||||
"browserslist": "^4.18.1",
|
||||
"camelcase": "^6.2.1",
|
||||
"classnames": "^2.3.1",
|
||||
@@ -66,7 +66,6 @@
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
||||
"@tailwindcss/forms": "^0.5.0",
|
||||
"@tauri-apps/cli": "^1.2.2",
|
||||
"@types/react": "18.0.25",
|
||||
@@ -89,6 +88,6 @@
|
||||
"prettier": "^2.7.1",
|
||||
"pretty-quick": "^3.1.3",
|
||||
"tailwindcss": "^3.0.23",
|
||||
"vite": "^3.2.4"
|
||||
"vite": "^4.0.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { esbuildCommonjs, viteCommonjs } from '@originjs/vite-plugin-commonjs';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { defineConfig, PluginOption } from 'vite';
|
||||
import { execSync } from 'child_process';
|
||||
@@ -39,7 +38,7 @@ export default defineConfig({
|
||||
__VERSION_TAG__: JSON.stringify(versionTag),
|
||||
__GIT_CLEAN__: gitClean,
|
||||
},
|
||||
plugins: [viteCommonjs(), react(), i18nHotReload()],
|
||||
plugins: [react(), i18nHotReload()],
|
||||
build: {
|
||||
target: 'es2020',
|
||||
emptyOutDir: true,
|
||||
@@ -50,7 +49,6 @@ export default defineConfig({
|
||||
optimizeDeps: {
|
||||
esbuildOptions: {
|
||||
target: 'es2020',
|
||||
plugins: [esbuildCommonjs(['solarxr-protocol'])],
|
||||
},
|
||||
needsInterop: ['solarxr-protocol'],
|
||||
include: ['solarxr-protocol'],
|
||||
|
||||
10054
package-lock.json
generated
10054
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user