Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

The simplest and fastest way to bundle your TypeScript libraries.

License

NotificationsYou must be signed in to change notification settings

egoist/tsup

Repository files navigation

npm versionnpm downloads

Bundle your TypeScript library with no config, powered byesbuild.

👀 What can it bundle?

Anything that's supported by Node.js natively, namely.js,.json,.mjs. And TypeScript.ts,.tsx.CSS support is experimental.

⚙️ Install

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.

📖 Usage

Bundle files

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.

📚 Documentation

For complete usages, please dive into thedocs.

For all configuration options, please seethe API docs.

💬 Discussions

Head over to thediscussions to share your ideas.

Sponsors

Ship UIs faster with automated workflows for Storybook

sponsors

Project Stats

Alt

License

MIT ©EGOIST


[8]ページ先頭

©2009-2025 Movatter.jp