Update README.md (#2138)

This commit is contained in:
B. Burt
2023-02-22 22:37:59 -08:00
committed by GitHub
parent 9024125d41
commit 93778a66d8

View File

@@ -613,7 +613,7 @@ You do not need to include file extensions in `import` paths. CommonJS-style imp
You can override the public directory by passing `--public-dir="path-to-folder"`.
If no directory is specified and `./public/` doesnt exist, bun will try `./static/`. If `./static/` does not exist, but wont serve from a public directory. If you pass `--public-dir=./` bun will serve from the current directory, but it will check the current directory last instead of first.
If no directory is specified and `./public/` doesnt exist, bun will try `./static/`. If `./static/` does not exist, bun wont serve from a public directory. If you pass `--public-dir=./` bun will serve from the current directory, but it will check the current directory last instead of first.
## Using bun with TypeScript