Skip to content

Commit

Permalink
add exports field to package.json for modern bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
aholachek committed May 15, 2023
1 parent 3d590f6 commit cc17142
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/flip-toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"main": "lib/index.js",
"umd:main": "lib/index.umd.js",
"module": "lib/index.es.js",
"exports": "./lib/index.modern.mjs",
"repository": {
"type": "git",
"url": "https://github.com/aholachek/react-flip-toolkit"
Expand Down
1 change: 1 addition & 0 deletions packages/react-flip-toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"main": "lib/index.js",
"module": "lib/index.es.js",
"types": "lib/index.d.ts",
"exports": "./lib/index.modern.mjs",
"amdName": "ReactFlipToolkit",
"repository": {
"type": "git",
Expand Down

0 comments on commit cc17142

Please sign in to comment.