aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-04-24 09:45:41 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-04-24 09:45:41 -0700
commitc2b838062d3199ca8d746f0a90dcee05b1de178b (patch)
tree546556403c1068c7a25b75bbfeb0658335e8eaa6
parentc4ef0311431ae57a894d3a5f15d40d2528a01f6b (diff)
downloadbun-c2b838062d3199ca8d746f0a90dcee05b1de178b.tar.gz
bun-c2b838062d3199ca8d746f0a90dcee05b1de178b.tar.zst
bun-c2b838062d3199ca8d746f0a90dcee05b1de178b.zip
WIP
-rw-r--r--README.md44
1 files changed, 22 insertions, 22 deletions
diff --git a/README.md b/README.md
index 7c4eb0edc..f8d009967 100644
--- a/README.md
+++ b/README.md
@@ -21,11 +21,11 @@ Goals:
- Support `defines` like in esbuild
- Support esbuild plugins
- Support importing CSS files from JavaScript
+- Tree-shaking
Non-goals:
- Bundling for production
-- Tree-shaking
- Minification
- AST plugins
- Support Node.js
@@ -65,31 +65,31 @@ If bundler means "turn my development code into something a browser can run",
### Compatibility Table
-Key:
-
-| Feature | esbuild | esdev |
-| ---------------------------------- | ------- | ----- |
-| Minification | ✅ | ❌ |
-| JSX (transform) | ✅ | ⌛ |
-| TypeScript (transform) | ✅ | ⌛ |
-| Hot Module Reloading | ❌[1] | ⌛ |
-| React Fast Refresh | ❌[1] | ⌛ |
-| Tree Shaking | ✅ | ⌛ |
-| Incremental builds | ✅ | ⌛ |
-| CSS | ✅ | 🗓️ |
-| Support older browsers | ✅ | ❌[2] |
-| Plugins | ✅ | ⌛[3] |
-| AST Plugins | ❌ | ❌[4] |
-| Filesystem Cache API (for plugins) | ❓ | 🗓️[4] |
+| Feature | esbuild | esdev |
+| ------------------------------------ | ------- | ----- |
+| React Fast Refresh | ❌[1] | ⌛ |
+| Hot Module Reloading | ❌[1] | ⌛ |
+| Minification | ✅ | ❌ |
+| JSX (transform) | ✅ | ⌛ |
+| TypeScript (transform) | ✅ | ⌛ |
+| Tree Shaking | ✅ | ⌛ |
+| Incremental builds | ✅ | ⌛ |
+| CSS | ✅ | 🗓️ |
+| CommonJS, IIFE, UMD outputs | ✅ | ❌ |
+| Support older browsers | ✅ | ❌[2] |
+| Plugins | ✅ | ⌛[3] |
+| AST Plugins | ❌ | ❌[4] |
+| Filesystem Cache API (for plugins) | ❓ | 🗓️[4] |
+| Transform to ESM with `bundle` false | ❓ | ⌛ |
Key:
|Tag | Meaning
|----|----------------------------------------------|
-| ✅ | "compatible" |
-| ❌ | "not supported, and no plans to change that" |
-| ⌛ | "in-progress" |
-| 🗓️ | "planned" or "eventually but work has not started" |
-| ❓ | "unknown" |
+| ✅ | Compatible |
+| ❌ | Not supported, and no plans to change that |
+| ⌛ | In-progress |
+| 🗓️ | Planned" or "eventually but work has not started |
+| ❓ | Unknown |
Citations:
[1]: