diff options
author | 2022-01-28 04:31:49 -0800 | |
---|---|---|
committer | 2022-01-28 04:31:49 -0800 | |
commit | 64a83f1427426a3dabb9e69bb2bbc572bc957b24 (patch) | |
tree | 1595afddd3b10983153d0beaaa7f5b56ae8828f0 | |
parent | f684a1605156df56e4589337fb208237f8e45d13 (diff) | |
download | bun-64a83f1427426a3dabb9e69bb2bbc572bc957b24.tar.gz bun-64a83f1427426a3dabb9e69bb2bbc572bc957b24.tar.zst bun-64a83f1427426a3dabb9e69bb2bbc572bc957b24.zip |
Update README.md
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1018,7 +1018,7 @@ If you want to copy the completions manually, run `bun completions > path-to-fil ### `Bun.Transpiler` -`Bun.Transpiler` lets you transform use Bun's transpiler from JavaScript (available in Bun.js) +`Bun.Transpiler` lets you use Bun's transpiler from JavaScript (available in Bun.js) ````ts type Loader = "jsx" | "js" | "ts" | "tsx"; @@ -1100,7 +1100,7 @@ const transpiler = new Bun.Transpiler({ loader: "jsx" }); This lets you transpile JavaScript, TypeScript, TSX, and JSX using Bun's transpiler. It does not resolve modules. -It is synchronous and runs in the same thread as your other JavaScript code. +It is synchronous and runs in the same thread as other JavaScript code. ```js const transpiler = new Bun.Transpiler({ loader: "jsx" }); |