Skip to content

Commit 833af52

Browse files
committed
Fix module entry
1 parent 8e2bf39 commit 833af52

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,19 @@
33
"version": "14.0.1",
44
"description": "A parser that converts Angular source code into an ESTree-compatible form",
55
"keywords": [],
6-
"main": "./dist/index.js",
7-
"types": "./dist/index.d.ts",
86
"repository": "https://github.com/prettier/angular-estree-parser",
97
"homepage": "https://github.com/prettier/angular-estree-parser#readme",
108
"author": {
119
"name": "Ika",
1210
"email": "[email protected]",
1311
"url": "https://github.com/ikatyang"
1412
},
13+
"exports": {
14+
".": {
15+
"types": "./dist/index.d.mts",
16+
"default": "./dist/index.mjs"
17+
}
18+
},
1519
"license": "MIT",
1620
"scripts": {
1721
"prepare": "yarn run build",

0 commit comments

Comments
 (0)