Skip to content

Commit 7ca8681

Browse files
committed
update package.json to correct paths for module exports
1 parent 1aa1fba commit 7ca8681

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"url": "http://github.com/graphql/dataloader.git"
1818
},
1919
"type": "module",
20-
"main": "dist/index.cjs",
21-
"module": "dist/index.js",
22-
"typings": "dist/index.d.ts",
20+
"main": "dist/cjs/index.js",
21+
"module": "dist/esm/index.js",
22+
"typings": "dist/esm/index.d.ts",
2323
"scripts": {
2424
"test": "npm run lint && npm run check && npm run testonly",
2525
"test:ci": "npm run lint && npm run check && npm run testonly -- --coverage",

0 commit comments

Comments
 (0)