Skip to content

Commit a064015

Browse files
committed
build: switch to tsdown
I think this will improve compatibility with TS6? Also more in line with new vite versions used in all üWave projects
1 parent 6641640 commit a064015

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
"dprint": "^0.53.0",
2020
"nock": "^14.0.0",
2121
"oxlint": "^1.1.0",
22-
"tsup": "^8.0.1",
22+
"tsdown": "^0.21.7",
2323
"typescript": "^5.0.2"
2424
},
2525
"engines": {
2626
"node": ">= 20"
2727
},
28-
"main": "./dist/index.js",
28+
"main": "./dist/index.mjs",
2929
"exports": {
30-
".": "./dist/index.js",
30+
".": "./dist/index.mjs",
3131
"./package.json": "./package.json"
3232
},
3333
"keywords": [
@@ -37,7 +37,7 @@
3737
"license": "MIT",
3838
"repository": "u-wave/u-wave-source-youtube",
3939
"scripts": {
40-
"build": "tsup src/index.ts --format esm --dts",
40+
"build": "tsdown src/index.ts --format esm --dts",
4141
"prepare": "npm run build",
4242
"lint": "oxlint src && dprint check",
4343
"tests-only": "node test/test.js",

0 commit comments

Comments
 (0)