-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.js.timestamp-1727373352671.mjs
35 lines (35 loc) · 4.26 KB
/
vite.config.js.timestamp-1727373352671.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// vite.config.js
import path from "path";
import { defineConfig } from "file:///D:/lib/database_github/TrainerBrain/node_modules/vite/dist/node/index.js";
import react from "file:///D:/lib/database_github/TrainerBrain/node_modules/@vitejs/plugin-react/dist/index.mjs";
var __vite_injected_original_dirname = "D:\\lib\\database_github\\TrainerBrain";
var setPath = (dir) => {
return path.resolve(__vite_injected_original_dirname, dir);
};
var vite_config_default = defineConfig({
plugins: [react()],
clearScreen: false,
server: {
port: 1420,
strictPort: true
},
envPrefix: ["VITE_", "TAURI_"],
build: {
target: ["es2021", "chrome100", "safari13"],
minify: !process.env.TAURI_DEBUG ? "esbuild" : false,
sourcemap: !!process.env.TAURI_DEBUG
},
resolve: {
alias: {
"imgs": setPath("./src/assets/imgs"),
"lib": setPath("./src/lib"),
"games": setPath("./src/games"),
"components": setPath("./src/components"),
"styles": setPath("./src/assets/scss")
}
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxsaWJcXFxcZGF0YWJhc2VfZ2l0aHViXFxcXFRyYWluZXJCcmFpblwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRDpcXFxcbGliXFxcXGRhdGFiYXNlX2dpdGh1YlxcXFxUcmFpbmVyQnJhaW5cXFxcdml0ZS5jb25maWcuanNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2lu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