Skip to content

Commit 5fd66b3

Browse files
authored
Merge pull request #10 from tailscale/export-fix
fix for library export
2 parents 2a18796 + bc4b1ed commit 5fd66b3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tailscale/tailscale-ui-components",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"author": "Tailscale",
55
"license": "MIT",
66
"main": "dist/tailscale-ui-components.umd.js",
@@ -10,6 +10,13 @@
1010
"files": [
1111
"dist"
1212
],
13+
"exports": {
14+
".": {
15+
"import": "./dist/tailscale-ui-components.es.js",
16+
"require": "./dist/tailscale-ui-components.umd.js",
17+
"types": "./dist/index.d.ts"
18+
}
19+
},
1320
"publishConfig": {
1421
"registry": "https://npm.pkg.github.com"
1522
},

0 commit comments

Comments
 (0)