Skip to content

Commit

Permalink
Support React Native
Browse files Browse the repository at this point in the history
@react-native-community/cli (used by expo and I think react native), parses package.json to determine package paths.

This is necessary to build react native projects. See react-native-community/cli#1168 for more details.
  • Loading branch information
jedahan committed Jul 25, 2022
1 parent 6562b85 commit 994eb19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -30,7 +30,8 @@
"unpkg": "dist/d3-interpolate.min.js",
"exports": {
"umd": "./dist/d3-interpolate.min.js",
"default": "./src/index.js"
"default": "./src/index.js",
"./package.json": "./package.json"
},
"sideEffects": false,
"dependencies": {
Expand Down

0 comments on commit 994eb19

Please sign in to comment.