Skip to content

Commit

Permalink
Fix exports map for TypeScript (motiondivision#1655)
Browse files Browse the repository at this point in the history
* Update exports map in `framer-motion`

* Fix exports map in `framer-motion-3d`
  • Loading branch information
rossng authored and utileetdulce committed Oct 24, 2022
1 parent b520007 commit 161da64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions packages/framer-motion-3d/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
"module": "dist/es/index.mjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/cjs/index.js",
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/es/index.mjs"
},
"import": "./dist/es/index.mjs",
"default": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
Expand Down
6 changes: 2 additions & 4 deletions packages/framer-motion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
"module": "dist/es/index.mjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/cjs/index.js",
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/es/index.mjs"
},
"import": "./dist/es/index.mjs",
"default": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
Expand Down

0 comments on commit 161da64

Please sign in to comment.