Apply repository-wide ESLint auto-fix formatting pass

Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
2026-03-08 12:11:57 +08:00
parent 7c48faaa3d
commit 847904c49b
172 changed files with 13629 additions and 9154 deletions

View File

@@ -17,41 +17,41 @@ import vue from "@vitejs/plugin-vue";
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd());
return{
return {
cacheDir: env.VITE_CACHE_DIR || undefined,
plugins: [vue()],
base: '/',
base: "/",
resolve: {
alias: {
util: "util/",
"@": fileURLToPath(new URL("./src", import.meta.url)),
'/images': 'src/assets/images',
}
"/images": "src/assets/images",
},
},
server: {
host: 'localhost',
host: "localhost",
port: 58249,
proxy: {
'/api': {
"/api": {
target: env.VUE_APP_API_URL,
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
}
rewrite: (path) => path.replace(/^\/api/, ""),
},
},
},
optimizeDeps: {
include: ['vue', 'vue-router', 'pinia', 'axios']
include: ["vue", "vue-router", "pinia", "axios"],
},
build: {
commonjsOptions: {
transformMixedEsModules: true, // Enable @walletconnect/web3-provider which has some code in CommonJS
// esmExternals: true, // If you set esmExternals to true, this plugins assumes that all external dependencies are ES modules
}
},
},
test: {
globals:true,
environment: 'jsdom',
globals: true,
environment: "jsdom",
// reporter: ['text', 'json', 'html', 'vue'],
},
}
};
});