Skip to content

Commit d6660f0

Browse files
committed
fix: lib build 설정 추가
1 parent e779fed commit d6660f0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/lib/vite.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,11 @@ import react from "@vitejs/plugin-react-oxc";
33

44
export default createViteConfig({
55
plugins: [react()],
6+
build: {
7+
lib: {
8+
entry: "src/index.ts",
9+
name: "HanghaePlusLib",
10+
fileName: (format) => `hanghae-plus-lib.${format}.js`,
11+
},
12+
},
613
});

0 commit comments

Comments
 (0)