Skip to content

Commit 283e66e

Browse files
authored
Merge pull request tweenjs#652 from christjt/christjt/package-health
fix(package.json): add export map
2 parents 0508229 + f439388 commit 283e66e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
"main": "dist/tween.cjs.js",
77
"types": "dist/tween.d.ts",
88
"module": "dist/tween.esm.js",
9+
"exports": {
10+
".": {
11+
"import": "./dist/tween.esm.js",
12+
"require": "./dist/tween.cjs.js"
13+
}
14+
},
915
"files": [
1016
"dist",
1117
"README.md",

0 commit comments

Comments
 (0)