diff options
author | 2021-04-24 09:45:41 -0700 | |
---|---|---|
committer | 2021-04-24 09:45:41 -0700 | |
commit | c2b838062d3199ca8d746f0a90dcee05b1de178b (patch) | |
tree | 546556403c1068c7a25b75bbfeb0658335e8eaa6 | |
parent | c4ef0311431ae57a894d3a5f15d40d2528a01f6b (diff) | |
download | bun-c2b838062d3199ca8d746f0a90dcee05b1de178b.tar.gz bun-c2b838062d3199ca8d746f0a90dcee05b1de178b.tar.zst bun-c2b838062d3199ca8d746f0a90dcee05b1de178b.zip |
WIP
-rw-r--r-- | README.md | 44 |
1 files changed, 22 insertions, 22 deletions
@@ -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]: |