mirror of
https://github.com/egoist/tsup.git
synced 2025-12-08 20:35:58 +00:00
chore(docs): Simple Minification docs (#162)
This commit is contained in:
parent
a1ea03e1df
commit
b52c19df40
@ -125,6 +125,14 @@ When an entry file like `src/cli.ts` contains hashbang like `#!/bin/env node` ts
|
||||
tsup src/index.ts --watch
|
||||
```
|
||||
|
||||
### Minify output
|
||||
|
||||
You can also minify the output, resulting into lower bundle sizes by using the `--minify` flag.
|
||||
|
||||
```bash
|
||||
tsup src/index.ts --minify
|
||||
```
|
||||
|
||||
### What about type checking?
|
||||
|
||||
esbuild is fast because it doesn't perform any type checking, you already get type checking from your IDE like VS Code or WebStorm.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user