Skip to content

Commit

Permalink
React as peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
platypii committed May 30, 2024
1 parent 05f6e39 commit 9e9ea7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@rollup/plugin-replace": "5.0.5",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "11.1.6",
"@types/node": "20.12.12",
"@types/node": "20.12.13",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "7.11.0",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ export default {
}),
terser(),
],
// external: ['react', 'react-dom'],
external: ['react', 'react-dom'],
}
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"checkJs": true,
"declaration": true,
"module": "nodenext",
"noEmit": true,
"resolveJsonModule": true,
"skipLibCheck": false,
"strict": true,
Expand Down

0 comments on commit 9e9ea7f

Please sign in to comment.