-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvite.config.js.timestamp-1696011880519-cd78b784ef9f7.mjs
37 lines (37 loc) · 4.19 KB
/
vite.config.js.timestamp-1696011880519-cd78b784ef9f7.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
// vite.config.js
import { readFileSync } from "fs";
import { sveltekit } from "file:///Users/jandiehm/Sites/romance-covers-new/node_modules/@sveltejs/kit/src/exports/vite/index.js";
import { timeFormat } from "file:///Users/jandiehm/Sites/romance-covers-new/node_modules/d3/src/index.js";
import path from "path";
import svg from "file:///Users/jandiehm/Sites/romance-covers-new/node_modules/vite-plugin-svgstring/index.js";
import dsv from "file:///Users/jandiehm/Sites/romance-covers-new/node_modules/@rollup/plugin-dsv/dist/es/index.js";
var { version } = JSON.parse(readFileSync("package.json", "utf8"));
var timestamp = timeFormat("%Y-%m-%d-%H:%M")(/* @__PURE__ */ new Date());
var config = {
define: {
__VERSION__: JSON.stringify(version),
__TIMESTAMP__: JSON.stringify(timestamp)
},
plugins: [
sveltekit(),
dsv(),
svg()
],
resolve: {
alias: {
"$actions": path.resolve("./src/actions"),
"$components": path.resolve("./src/components"),
"$data": path.resolve("./src/data"),
"$routes": path.resolve("./src/routes"),
"$stores": path.resolve("./src/stores"),
"$styles": path.resolve("./src/styles"),
"$svg": path.resolve("./src/svg"),
"$utils": path.resolve("./src/utils")
}
}
};
var vite_config_default = config;
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvVXNlcnMvamFuZGllaG0vU2l0ZXMvcm9tYW5jZS1jb3ZlcnMtbmV3XCI7Y29uc3QgX192aXRlX2luamVjdGV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