Skip to content

Commit

Permalink
fix(build): remove React, mark as external during build (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrothenberg authored Jan 14, 2025
1 parent 1b76edc commit 904f5db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"."
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"build": "tsup src/index.ts --format cjs,esm --dts --clean --external=react",
"format": "biome format . --write && prettier -w \"**/*\" \"!**/*.{md,mdx}\" --ignore-unknown --cache",
"lint": "biome lint .",
"test": "vitest run",
Expand Down Expand Up @@ -78,4 +78,4 @@
"peerDependencies": {
"react-router": ">=7.0.0"
}
}
}

0 comments on commit 904f5db

Please sign in to comment.