Skip to content

Commit

Permalink
build: exclude dndkit from bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Nov 23, 2024
1 parent 858bfe7 commit fcdf346
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/tsup-config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ const config: Options = {
dts: true,
format: ["cjs", "esm"],
inject: ["../tsup-config/react-import.js"],
external: ["react", "react-dom", "@measured/puck"],
external: [
"react",
"react-dom",
"@measured/puck",
"@dnd-kit/react",
"@dnd-kit/dom",
],
esbuildPlugins: [
{
name: "css-module",
Expand Down

0 comments on commit fcdf346

Please sign in to comment.