Skip to content

Commit d3aba3e

Browse files
authoredMar 22, 2021
build: add exports field to package.json (#2467)
BREAKING CHANGE See https://nodejs.org/api/packages.html#packages_package_entry_points
1 parent 3da84d1 commit d3aba3e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎package.json

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
"version": "27.0.0-next.9",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
6+
"exports": {
7+
".": "./dist/index.js",
8+
"./dist/*": "./dist/*.js",
9+
"./presets": "./jest-preset.js",
10+
"./utils": "./utils/index.js",
11+
"./package.json": "./package.json"
12+
},
613
"bin": {
714
"ts-jest": "cli.js"
815
},

0 commit comments

Comments
 (0)
Please sign in to comment.