Skip to content

Commit 8fa356b

Browse files
committed
update package exports and remove removed scripts included in build process
1 parent 67d6eee commit 8fa356b

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

plugins/google/package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@
66
"require": "dist/index.cjs",
77
"types": "dist/index.d.ts",
88
"exports": {
9-
"import": {
9+
".": {
1010
"types": "./dist/index.d.ts",
11-
"default": "./dist/index.js"
12-
},
13-
"require": {
14-
"types": "./dist/index.d.cts",
15-
"default": "./dist/index.cjs"
11+
"import": "./dist/index.js",
12+
"require": "./dist/index.cjs"
1613
}
1714
},
1815
"author": "LiveKit",
@@ -25,8 +22,7 @@
2522
"README.md"
2623
],
2724
"scripts": {
28-
"build": "tsup --onSuccess \"pnpm build:types\"",
29-
"build:types": "tsc --declaration --emitDeclarationOnly && node ../../scripts/copyDeclarationOutput.js",
25+
"build": "tsup --onSuccess \"tsc --declaration --emitDeclarationOnly\"",
3026
"clean": "rm -rf dist",
3127
"clean:build": "pnpm clean && pnpm build",
3228
"lint": "eslint -f unix \"src/**/*.{ts,js}\"",

0 commit comments

Comments
 (0)