tsup
Advanced tools
Comparing version 1.4.3 to 1.4.4
{ | ||
"name": "tsup", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"main": "dist/index.js", | ||
@@ -41,5 +41,5 @@ "bin": "dist/cli.js", | ||
"ts-jest": "^25.5.1", | ||
"tsup": "^1.4.1", | ||
"tsup": "^1.4.3", | ||
"typescript": "^3.9.2" | ||
} | ||
} |
@@ -7,2 +7,8 @@ # tsup | ||
## Why Rollup? | ||
> Rollup is at least an order of magnitude slower than ESBuild, why not use ESBuild directly? | ||
Because ESBuild isn't mature enough, here we use Rollup to bundle `.d.ts` files, add code splitting support, import non-js assets etc. | ||
## Install | ||
@@ -44,2 +50,4 @@ | ||
`dependencies` in your `packages.json` are always excluded, you can also use `--external <module>` flag to mark specific package as external. | ||
When you're bundling a lot files, this can be 10x~200x slower than ESBuild. | ||
@@ -63,2 +71,2 @@ | ||
MIT © [EGOIST (Kevin Titor)](https://github.com/sponsors/egoist) | ||
MIT © [EGOIST (Kevin Titor)](https://github.com/sponsors/egoist) |
Sorry, the diff of this file is too big to display
390276
11430
70