-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.ts.timestamp-1662575254515.mjs
30 lines (30 loc) · 2.82 KB
/
vite.config.ts.timestamp-1662575254515.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
// vite.config.ts
import path from "path";
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
var __vite_injected_original_dirname = "E:\\_codepen\\git\\Snake";
var setPath = (dir) => {
return path.resolve(__vite_injected_original_dirname, dir);
};
var vite_config_default = defineConfig({
root: "./src/",
build: {
outDir: "./dist"
},
plugins: [react()],
resolve: {
alias: {
"src": setPath("./src/"),
"css": setPath("./public/css/"),
"imgs": setPath("./public/imgs"),
"types": setPath("./src/types.ts"),
"game": setPath("./src/game"),
"contexts": setPath("./src/contexts"),
"components": setPath("./src/components")
}
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFxfY29kZXBlblxcXFxnaXRcXFxcU25ha2VcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkU6XFxcXF9jb2RlcGVuXFxcXGdpdFxcXFxTbmFrZVxcXFx2aXRlLmNvbmZpZy50c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vRTovX2NvZGVwZW4vZ2l0L1NuYWtlL3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHBhdGggZnJvbSAncGF0aCdcbmltcG9ydCB7IGRlZmluZUNvbmZpZyB9IGZyb20gJ3ZpdGUnXG5pbXBvcnQgcmVhY3QgZnJvbSAn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