@qodestack/dl-yt-playlist
Version:
Download all videos (or audio only) from a YouTube playlist!
17 lines (12 loc) • 408 B
text/typescript
import dts from 'bun-plugin-dts'
import pkgJson from './package.json'
const start = performance.now()
await Bun.build({
entrypoints: ['./src/main.ts', './src/schemas.ts'],
outdir: './dist',
target: 'bun',
external: Object.keys(pkgJson.dependencies),
plugins: [dts()],
})
const totalTime = ((performance.now() - start) / 1000).toFixed(2)
console.log(`Finished building in ${totalTime} seconds`)