Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork259
The simplest and fastest way to bundle your TypeScript libraries.
License
egoist/tsup
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Bundle your TypeScript library with no config, powered byesbuild.
Anything that's supported by Node.js natively, namely.js
,.json
,.mjs
. And TypeScript.ts
,.tsx
.CSS support is experimental.
Install it locally in your project folder:
npm i tsup -D# Or Yarnyarn add tsup --dev# Or pnpmpnpm add tsup -D
You can also install it globally but it's not recommended.
tsup [...files]
Files are written into./dist
.
You can bundle multiple files in one go:
tsup src/index.ts src/cli.ts
This will outputdist/index.js
anddist/cli.js
.
For complete usages, please dive into thedocs.
For all configuration options, please seethe API docs.
Head over to thediscussions to share your ideas.
MIT ©EGOIST
About
The simplest and fastest way to bundle your TypeScript libraries.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.