We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a145a04 commit 0408ee8Copy full SHA for 0408ee8
.changeset/shiny-planets-rest.md
@@ -0,0 +1,5 @@
1
+---
2
+"@setaday/ui": patch
3
4
+
5
+change tsup bundling entrypoint
packages/ui/tsup.config.ts
@@ -1,14 +1,13 @@
-import { defineConfig } from 'tsup';
-
+import { defineConfig } from "tsup";
export default defineConfig({
- entry: ['src/index.ts'],
6
- format: ['cjs', 'esm'],
7
- outDir: 'dist',
8
- clean: true,
9
- sourcemap: true,
10
- dts: true,
11
- external: ['react', 'react-dom'],
12
- minify: true,
13
- treeshake: true,
14
-});
+ entry: ["index.ts"],
+ format: ["cjs", "esm"],
+ outDir: "dist",
+ clean: true,
+ sourcemap: true,
+ dts: true,
+ external: ["react", "react-dom"],
+ minify: true,
+ treeshake: true,
+});
0 commit comments