Clean up stale vite config options and Cypress leftovers

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RaRBJFZKSTA7naHGuQHfnQ
This commit is contained in:
2026-07-04 15:02:56 +08:00
co-authored by Claude Fable 5
parent 834d69f686
commit ba1f2f4ac9
2 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ async function enableMocking() {
const { http, HttpResponse } = await import("msw");
const { worker } = await import("./mocks/browser.js");
await worker.start({ onUnhandledRequest: "bypass" });
// Expose on window so Cypress can add per-test overrides
// Expose on window so Playwright can add per-test overrides
window.__mswWorker__ = worker;
window.__msw__ = { http, HttpResponse };
}
-8
View File
@@ -46,9 +46,7 @@ export default defineConfig(({ mode }) => {
base: "/",
resolve: {
alias: {
util: "util/",
"@": fileURLToPath(new URL("./src", import.meta.url)),
"/images": "src/assets/images",
},
},
server: {
@@ -61,13 +59,7 @@ export default defineConfig(({ mode }) => {
port: 4173,
proxy,
},
optimizeDeps: {
include: ["vue", "vue-router", "pinia", "axios"],
},
build: {
commonjsOptions: {
transformMixedEsModules: true, // Enable @walletconnect/web3-provider which has some code in CommonJS
},
rollupOptions: {
output: {
manualChunks: {