Apply repository-wide ESLint auto-fix formatting pass
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -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'],
|
||||
},
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user