-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.js.timestamp-1731575277510-0fd9038498287.mjs
43 lines (43 loc) · 4.74 KB
/
vite.config.js.timestamp-1731575277510-0fd9038498287.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
36
37
38
39
40
41
42
43
// vite.config.js
import { fileURLToPath, URL } from "url";
import { defineConfig, loadEnv } from "file:///workspaces/basketball-streams-to-calendar-ai-prompt/node_modules/vite/dist/node/index.js";
import react from "file:///workspaces/basketball-streams-to-calendar-ai-prompt/node_modules/@vitejs/plugin-react/dist/index.mjs";
import { resolve } from "path";
var __vite_injected_original_dirname = "/workspaces/basketball-streams-to-calendar-ai-prompt";
var __vite_injected_original_import_meta_url = "file:///workspaces/basketball-streams-to-calendar-ai-prompt/vite.config.js";
var vite_config_default = defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), "");
return {
server: {
host: "::",
port: "8080"
},
plugins: [react()],
resolve: {
alias: [
{
find: "@",
replacement: fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
},
{
find: "lib",
replacement: resolve(__vite_injected_original_dirname, "lib")
}
]
},
define: {
"process.env.REACT_APP_GEMINI_API_KEY": JSON.stringify(env.REACT_APP_GEMINI_API_KEY),
"process.env.REACT_APP_GOOGLE_CLIENT_ID": JSON.stringify(env.REACT_APP_GOOGLE_CLIENT_ID),
"process.env.REACT_APP_GOOGLE_API_KEY": JSON.stringify(env.REACT_APP_GOOGLE_API_KEY),
"process.env.REACT_APP_GOOGLE_CALENDAR_ID": JSON.stringify(env.REACT_APP_GOOGLE_CALENDAR_ID)
},
build: {
chunkSizeWarningLimit: 1e3
// Adjust this value as needed
}
};
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvb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