-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ui): tsup 번들링 entrypoint를 수정합니다. (#76)
- Loading branch information
1 parent
a145a04
commit 0408ee8
Showing
2 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@setaday/ui": patch | ||
--- | ||
|
||
change tsup bundling entrypoint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
import { defineConfig } from 'tsup'; | ||
|
||
import { defineConfig } from "tsup"; | ||
|
||
export default defineConfig({ | ||
entry: ['src/index.ts'], | ||
format: ['cjs', 'esm'], | ||
outDir: 'dist', | ||
clean: true, | ||
sourcemap: true, | ||
dts: true, | ||
external: ['react', 'react-dom'], | ||
minify: true, | ||
treeshake: true, | ||
}); | ||
entry: ["index.ts"], | ||
format: ["cjs", "esm"], | ||
outDir: "dist", | ||
clean: true, | ||
sourcemap: true, | ||
dts: true, | ||
external: ["react", "react-dom"], | ||
minify: true, | ||
treeshake: true, | ||
}); |