Skip to content

Commit

Permalink
fix: add babel preset @babel/preset-react
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-mason committed May 1, 2024
1 parent 6c28156 commit 1d7fa8c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/sharp-poems-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@arancini/react": patch
---

fix: don't include react/jsx-runtime in bundle
2 changes: 1 addition & 1 deletion packages/arancini-react/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const babelOptions = {
export default [
{
input: `./src/index.tsx`,
external: ['@arancini/core', 'react', 'react-dom'],
external: ['@arancini/core', 'react', 'react-dom', 'react/jsx-runtime'],
output: [
{
file: `dist/index.mjs`,
Expand Down

0 comments on commit 1d7fa8c

Please sign in to comment.