-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.ts.timestamp-1682422473844-c1a9f507d5aa2.mjs
34 lines (34 loc) · 3.94 KB
/
vite.config.ts.timestamp-1682422473844-c1a9f507d5aa2.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
// vite.config.ts
import { defineConfig } from "file:///D:/LITTORAL_PECHE/STORE_LOGICIEL/APP/babone-vite/node_modules/vite/dist/node/index.js";
import react from "file:///D:/LITTORAL_PECHE/STORE_LOGICIEL/APP/babone-vite/node_modules/@vitejs/plugin-react/dist/index.mjs";
var vite_config_default = defineConfig(async () => ({
plugins: [react()],
test: {
coverage: {
reporter: ["text", "json", "html"]
}
},
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
// prevent vite from obscuring rust errors
clearScreen: false,
// tauri expects a fixed port, fail if that port is not available
server: {
port: 1420,
strictPort: true
},
// to make use of `TAURI_DEBUG` and other env variables
// https://tauri.studio/v1/api/config#buildconfig.beforedevcommand
envPrefix: ["VITE_", "TAURI_"],
build: {
// Tauri supports es2021
target: process.env.TAURI_PLATFORM == "windows" ? "chrome105" : "safari13",
// don't minify for debug builds
minify: !process.env.TAURI_DEBUG ? "esbuild" : false,
// produce sourcemaps for debug builds
sourcemap: !!process.env.TAURI_DEBUG
}
}));
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxMSVRUT1JBTF9QRUNIRVxcXFxTVE9SRV9MT0dJQ0lFTFxcXFxBUFBcXFxcYmFib25lLXZpdGVcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkQ6XF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