-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.ts.timestamp-1704380531456-28c3b9e6fc8ca.mjs
41 lines (41 loc) · 4.08 KB
/
vite.config.ts.timestamp-1704380531456-28c3b9e6fc8ca.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
// vite.config.ts
import { defineConfig } from "file:///home/hyeon9782/ReactProject/black-ui/node_modules/vite/dist/node/index.js";
import { resolve } from "path";
import react from "file:///home/hyeon9782/ReactProject/black-ui/node_modules/@vitejs/plugin-react-swc/index.mjs";
import { vanillaExtractPlugin } from "file:///home/hyeon9782/ReactProject/black-ui/node_modules/@vanilla-extract/vite-plugin/dist/vanilla-extract-vite-plugin.cjs.js";
import libCss from "file:///home/hyeon9782/ReactProject/black-ui/node_modules/vite-plugin-libcss/index.js";
import dts from "file:///home/hyeon9782/ReactProject/black-ui/node_modules/vite-plugin-dts/dist/index.mjs";
var __vite_injected_original_dirname = "/home/hyeon9782/ReactProject/black-ui";
var vite_config_default = defineConfig({
plugins: [
vanillaExtractPlugin(),
react(),
dts({
insertTypesEntry: true
// 컴포넌트 타입 생성
}),
libCss()
],
build: {
lib: {
entry: resolve(__vite_injected_original_dirname, "src/components/index.ts"),
name: "@black-ui/react",
fileName: "index",
// 어떤 모듈형태로 빌드할건지 : es, umd, cjs
formats: ["es", "umd", "cjs"]
},
rollupOptions: {
external: ["react", "react-dom"],
output: {
globals: {
react: "React",
"react-dom": "ReactDOM"
}
}
}
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvaG9tZS9oeWVvbjk3ODIvUmVhY3RQcm9qZWN0L2Js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