-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.ts.timestamp-1727964815956-5575943a1b3ad.mjs
43 lines (43 loc) · 4.11 KB
/
vite.config.ts.timestamp-1727964815956-5575943a1b3ad.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 react from "file:///home/zhuwenq/tasks-timeline-view/node_modules/.pnpm/@[email protected][email protected]_@[email protected][email protected]_/node_modules/@vitejs/plugin-react/dist/index.mjs";
import path from "node:path";
import { defineConfig } from "file:///home/zhuwenq/tasks-timeline-view/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/index.js";
import dts from "file:///home/zhuwenq/tasks-timeline-view/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]_@[email protected][email protected]_/node_modules/vite-plugin-dts/dist/index.mjs";
import tailwindcss from "file:///home/zhuwenq/tasks-timeline-view/node_modules/.pnpm/[email protected][email protected]_@[email protected][email protected]_/node_modules/tailwindcss/lib/index.js";
var __vite_injected_original_dirname = "/home/zhuwenq/tasks-timeline-view";
var vite_config_default = defineConfig({
plugins: [
react(),
dts({
insertTypesEntry: true
})
],
css: {
postcss: {
plugins: [tailwindcss]
}
},
build: {
sourcemap: true,
lib: {
entry: path.resolve(__vite_injected_original_dirname, "src/index.tsx"),
name: "ViteReactLibraryTemplate",
formats: ["es", "umd"],
fileName: (format) => `index.${format}.js`
},
rollupOptions: {
external: ["react", "react-dom", "tailwindcss"],
output: {
globals: {
react: "React",
"react-dom": "ReactDOM",
tailwindcss: "tailwindcss"
}
}
}
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW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