-
Notifications
You must be signed in to change notification settings - Fork 5
/
vite.config.ts.timestamp-1716335145381-51ba3c93d3ac.mjs
21 lines (21 loc) · 2.5 KB
/
vite.config.ts.timestamp-1716335145381-51ba3c93d3ac.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// vite.config.ts
import { execSync } from "child_process";
import {
vitePlugin as remix,
cloudflareDevProxyVitePlugin as remixCloudflareDevProxy
} from "file:///Users/dreeves/dr/darkti.de/node_modules/@remix-run/dev/dist/index.js";
import { defineConfig } from "file:///Users/dreeves/dr/darkti.de/node_modules/vite/dist/node/index.js";
import tsconfigPaths from "file:///Users/dreeves/dr/darkti.de/node_modules/vite-tsconfig-paths/dist/index.mjs";
var vite_config_default = defineConfig({
define: {
BUILD_TIME: JSON.stringify((/* @__PURE__ */ new Date()).toLocaleString("en-GB")),
GIT_SHA: JSON.stringify(
execSync("git rev-parse --short HEAD").toString().trim()
)
},
plugins: [remixCloudflareDevProxy(), remix(), tsconfigPaths()]
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvVXNlcnMvZHJlZXZlcy9kci9kYXJrdGkuZGVcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIi9Vc2Vycy9kcmVldmVzL2RyL2Rhcmt0aS5kZS92aXRlLmNvbmZpZy50c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vVXNlcnMvZHJlZXZlcy9kci9kYXJrdGkuZGUvdml0ZS5jb25maWcudHNcIjtpbXBvcnQgeyBleGVjU3luYyB9IGZyb20gXCJjaGlsZF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