Skip to content

Commit 6812ffb

Browse files
authored
Merge pull request #308 from mkszepp/fix-declaration-export
Fix export for declaration files (TS)
2 parents 998b4f0 + 3cca983 commit 6812ffb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@
99
"url": "https://github.com/ember-cli/ember-load-initializers/issues"
1010
},
1111
"exports": {
12-
".": "dist/index.js"
12+
".": {
13+
"types": "./dist/index.d.ts",
14+
"default": "./dist/index.js"
15+
}
1316
},
14-
"main": "dist/index.js",
17+
"main": "./dist/index.js",
1518
"repository": {
1619
"type": "git",
1720
"url": "git+https://github.com/ember-cli/ember-load-initializers.git"

0 commit comments

Comments
 (0)