Skip to content

Commit 606b2f9

Browse files
committed
package.json: Point main/module/types to dist/
See also: lit#30 (comment)
1 parent ca0c4bd commit 606b2f9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"name": "lit-element-starter-ts",
33
"version": "0.0.0",
44
"description": "A simple web component",
5-
"main": "my-element.js",
6-
"module": "my-element.js",
5+
"main": "./dist/my-element.js",
6+
"module": "./dist/my-element.js",
7+
"types": "./dist/my-element.d.ts",
78
"type": "module",
89
"scripts": {
910
"build": "tsc",

0 commit comments

Comments
 (0)