aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-05 03:00:13 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-05 03:00:13 -0800
commitf8f2ec8f3567c84501fac433f8313e72c14d84f7 (patch)
tree129665b616c605b149c33e6cb647ce7a754ccb60 /README.md
parentaf6c18ccc510e582987bc04b5187337b2263d6f6 (diff)
downloadbun-f8f2ec8f3567c84501fac433f8313e72c14d84f7.tar.gz
bun-f8f2ec8f3567c84501fac433f8313e72c14d84f7.tar.zst
bun-f8f2ec8f3567c84501fac433f8313e72c14d84f7.zip
Update README.md
Diffstat (limited to '')
-rw-r--r--README.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/README.md b/README.md
index a331dc35f..cc796bb3f 100644
--- a/README.md
+++ b/README.md
@@ -261,6 +261,11 @@ bun is a project with incredibly large scope, and it’s early days.
| [Hash components for Fast Refresh](https://github.com/Jarred-Sumner/bun/issues/18) | JSX Transpiler |
| Source Maps | JavaScript |
| Source Maps | CSS |
+| JavaScript Minifier | JavaScript |
+| CSS Minifier | CSS |
+| CSS Parser | CSS |
+| Tree-shaking | JavaScript |
+| Tree-shaking | CSS |
| [`extends`](https://www.typescriptlang.org/tsconfig#extends) in tsconfig.json | TS Transpiler |
| [TypeScript Decorators](https://www.typescriptlang.org/docs/handbook/decorators.html) | TS Transpiler |
| `@jsxPragma` comments | JS Transpiler |
@@ -649,6 +654,10 @@ To fix this issue:
2. Try agin, and if the error still occurs, try setting `ulimit -n` to an absurdly high number, such as `ulimit -n 2147483646`
3. Try again, and if that still doesn’t fix it, open an issue
+### bun install is stuck
+
+Please run `bun install --verbose 2> logs.txt` and send them to me in bun's discord. If you're on Linux, it would also be helpful if you run `sudo perf trace bun install --silent` and attach the logs.
+
## Reference
### `bun install`
@@ -1145,6 +1154,8 @@ Run `bun bun ./path-to.js` to generate a `node_modules.bun` file containing all
#### What is `.bun`?
+Note: [This format may change soon](https://github.com/Jarred-Sumner/bun/issues/121)
+
The `.bun` file contains:
- all the bundled source code
@@ -1164,7 +1175,7 @@ Here are some of the questions `.bun` files answer:
All in one file.
-It’s a little like a build cache, but designed for reuse. I hope people will eventually check it into version control so their coworkers don’t have to run `npm install` as often.
+It’s a little like a build cache, but designed for reuse across builds.
#### Position-independent code