Skip to content

Commit

Permalink
change export field in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Jul 4, 2022
1 parent 57af38c commit db74509
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,17 @@
},
"license": "MIT",
"author": "Xiaoyi Chen <[email protected]> (http://github.com/xyc)",
"main": "dist/cjs/react-inspector.js",
"module": "dist/es/react-inspector.js",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/*/",
"README.md",
Expand Down

0 comments on commit db74509

Please sign in to comment.