Build with tsup, fix warnings and cleanup imports

This commit is contained in:
absidue
2021-12-13 17:54:18 +01:00
parent 5a094be82e
commit 5b904bda46
10 changed files with 1922 additions and 36 deletions

16
tsup.config.json Normal file
View File

@@ -0,0 +1,16 @@
{
"clean": true,
"dts": true,
"entryPoints": [
"play-dl/index.ts"
],
"format": [
"esm",
"cjs"
],
"minify": true,
"skipNodeModulesBundle": true,
"sourcemap": true,
"target": "es2021",
"splitting": false
}