-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.ts.timestamp-1702724302805-d107d493bbc49.mjs
43 lines (43 loc) · 4.88 KB
/
vite.config.ts.timestamp-1702724302805-d107d493bbc49.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.ts
import { defineConfig } from "file:///Users/metincansiper/Documents/Workspace/react-bounded-overlay-manager/node_modules/vite/dist/node/index.js";
import { extname, relative, resolve } from "path";
import { fileURLToPath } from "node:url";
import { glob } from "file:///Users/metincansiper/Documents/Workspace/react-bounded-overlay-manager/node_modules/glob/dist/esm/index.js";
import react from "file:///Users/metincansiper/Documents/Workspace/react-bounded-overlay-manager/node_modules/@vitejs/plugin-react/dist/index.mjs";
import dts from "file:///Users/metincansiper/Documents/Workspace/react-bounded-overlay-manager/node_modules/vite-plugin-dts/dist/index.mjs";
import { libInjectCss } from "file:///Users/metincansiper/Documents/Workspace/react-bounded-overlay-manager/node_modules/vite-plugin-lib-inject-css/dist/index.mjs";
var __vite_injected_original_dirname = "/Users/metincansiper/Documents/Workspace/react-bounded-overlay-manager";
var __vite_injected_original_import_meta_url = "file:///Users/metincansiper/Documents/Workspace/react-bounded-overlay-manager/vite.config.ts";
var vite_config_default = defineConfig({
plugins: [
react(),
libInjectCss(),
dts({ include: ["lib"] })
],
build: {
lib: {
entry: resolve(__vite_injected_original_dirname, "lib/main.ts"),
formats: ["es"]
},
rollupOptions: {
external: ["react", "react/jsx-runtime"],
input: Object.fromEntries(
glob.sync("lib/**/*.{ts,tsx}").map((file) => [
relative(
"lib",
file.slice(0, file.length - extname(file).length)
),
fileURLToPath(new URL(file, __vite_injected_original_import_meta_url))
])
),
output: {
assetFileNames: "assets/[name][extname]",
entryFileNames: "[name].js"
}
}
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cm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