fix: vite hmr

This commit is contained in:
Razboy20
2025-09-11 13:29:33 -05:00
parent 8f7e1bc0af
commit ea34a7807f
9 changed files with 3423 additions and 1049 deletions

View File

@@ -207,6 +207,9 @@ export default defineConfig({
hmr: {
clientPort: 5173,
},
cors: {
origin: [/chrome-extension:\/\//],
},
proxy: {
'/debug.html': {
target: 'http://localhost:5173',
@@ -256,16 +259,16 @@ export default defineConfig({
},
},
},
test: {
coverage: {
provider: 'v8',
},
},
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
},
},
},
// test: {
// coverage: {
// provider: "v8",
// },
// },
// css: {
// preprocessorOptions: {
// scss: {
// api: "modern-compiler",
// },
// },
// },
});