update vite

This commit is contained in:
Jacob Overgaard
2024-02-14 12:50:08 +01:00
parent f243adc975
commit e0a609fcbe
3 changed files with 22074 additions and 22069 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -221,9 +221,9 @@
"tsc-alias": "^1.8.8",
"typescript": "^5.3.3",
"typescript-json-schema": "^0.62.0",
"vite": "^5.0.11",
"vite": "^5.1.1",
"vite-plugin-static-copy": "^1.0.1",
"vite-tsconfig-paths": "^4.2.3",
"vite-tsconfig-paths": "^4.3.1",
"web-component-analyzer": "^2.0.0"
},
"msw": {

View File

@@ -46,6 +46,11 @@ export const plugins: PluginOption[] = [
export default defineConfig({
build: {
sourcemap: true,
rollupOptions: {
input: {
main: new URL('index.html', import.meta.url).pathname, // Vite should only load the main index.html file
},
},
},
plugins,
});