tsup
The simplest and fastest way to bundle your TypeScript libraries.
File Explorer
Download Latest Version (.zip)- devcontainer.json
- Dockerfile
- ci.yml
- format.yml
- release-continuous.yml
- release.yml
- renovate.json5
- cjs_shims.js
- esm_shims.js
- package.json
- index.html
- README.md
- external.ts
- index.ts
- native-node-module.ts
- node-protocol.ts
- postcss.ts
- svelte.ts
- swc.test.ts
- swc.ts
- public-dir.ts
- report-size.ts
- cjs-interop.ts
- cjs-splitting.ts
- shebang.ts
- size-reporter.ts
- swc-target.ts
- terser.ts
- tree-shaking.ts
- ts-resolve.ts
- api-extractor.ts
- cli-default.ts
- cli-main.ts
- cli-node.ts
- errors.ts
- exports.ts
- fs.ts
- index.ts
- load.ts
- log.ts
- options.ts
- plugin.ts
- rollup.ts
- run.ts
- tsc.ts
- utils.ts
- css.test.ts.snap
- dts.test.ts.snap
- index.test.ts.snap
- tsconfig.test.ts.snap
- css.test.ts
- dts.test.ts
- example.test.ts
- experimental-dts.test.ts
- graphql.test.ts
- index.test.ts
- package.json
- pnpm-lock.yaml
- shims.test.ts
- svelte.test.ts
- tsconfig.test.ts
- utils.ts
- .editorconfig
- .gitattributes
- .gitignore
- .prettierignore
- .prettierrc
- CONTRIBUTING.md
- how-a-package-is-resolved.jpeg
- LICENSE
- package.json
- pnpm-lock.yaml
- README.md
- schema.json
- tsconfig.json
- tsup.config.ts
- vitest-global.ts
- vitest.config.mts
# Installation Guide
1. Get the code
git clone https://github.com/egoist/tsup
Downloads the entire project code from GitHub to your computer.
cd tsup
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm i tsup -D
Type this command into your terminal and run it.
yarn add tsup --dev
Type this command into your terminal and run it.
pnpm add tsup -D
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
