Skip to content

Commit

Permalink
Making react optional dep
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Mar 7, 2023
1 parent 8260ab3 commit f87a177
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/framer-motion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
}
},
"optionalDependencies": {
"@emotion/is-prop-valid": "^0.8.2"
"@emotion/is-prop-valid": "^0.8.2",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"bundlesize": [
{
Expand All @@ -107,6 +109,10 @@
"path": "./dist/size-rollup-animate.js",
"maxSize": "10 kB"
},
{
"path": "./dist/size-rollup-animate.js",
"maxSize": "10 kB"
},
{
"path": "./dist/size-webpack-m.js",
"maxSize": "4.8 kB"
Expand Down

0 comments on commit f87a177

Please sign in to comment.