diff options
author | 2023-05-16 10:47:00 -0700 | |
---|---|---|
committer | 2023-05-16 10:47:00 -0700 | |
commit | 366eba78f0b9b2c58cdd46b906275fc8382da977 (patch) | |
tree | 8966c3964aeacc4a7f61a69164467e9ebf37b6e1 /docs/bundler/migration.md | |
parent | 60bc804c58b18e99763b2d05e81bafa46800092f (diff) | |
download | bun-366eba78f0b9b2c58cdd46b906275fc8382da977.tar.gz bun-366eba78f0b9b2c58cdd46b906275fc8382da977.tar.zst bun-366eba78f0b9b2c58cdd46b906275fc8382da977.zip |
Tweaks to bundler docs (#2867)
* WIP
* Fix typo
* Updates
* Document --compile
* Add bundler benchmark
* Remove esbuild
* Add bench to docs
* Add buttons
* Updates
Diffstat (limited to 'docs/bundler/migration.md')
-rw-r--r-- | docs/bundler/migration.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/bundler/migration.md b/docs/bundler/migration.md index e76d50103..1bf9d52dc 100644 --- a/docs/bundler/migration.md +++ b/docs/bundler/migration.md @@ -6,7 +6,7 @@ Bun's bundler API is inspired heavily by [esbuild](https://esbuild.github.io/). There are a few behavioral differences to note. -- **Bundling by default**. Unlike esbuild, Bun _always bundles by default_. This is why the `--bundle` flag isn't necessary in the Bun example. To transpile each file individually, use [`Bun.Transpiler`](/docs/api/transpiler.md). +- **Bundling by default**. Unlike esbuild, Bun _always bundles by default_. This is why the `--bundle` flag isn't necessary in the Bun example. To transpile each file individually, use [`Bun.Transpiler`](/docs/api/transpiler). - **It's just a bundler**. Unlike esbuild, Bun's bundler does not include a built-in development server or file watcher. It's just a bundler. The bundler is intended for use in conjunction with `Bun.serve` and other runtime APIs to achieve the same effect. As such, all options relating to HTTP/file watching are not applicable. ## Performance |