Skip to content

Commit

Permalink
feat: add explicit exports map in package.json (#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanhofer committed Sep 3, 2022
1 parent 2d9f3b4 commit 5e1c1a6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions package.json
Expand Up @@ -4,6 +4,18 @@
"description": "Seamless REST/GraphQL API mocking library for browser and Node.js.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"default": "./lib/index.js"
},
"./native": {
"default": "./lib/native/index.js"
},
"./node": {
"require": "./lib/node/index.js",
"default": "./lib/node/index.mjs"
}
},
"bin": {
"msw": "cli/index.js"
},
Expand Down

0 comments on commit 5e1c1a6

Please sign in to comment.