How do I get the actual directory behind /$bunfs/root
I am trying to get the directory in which my executable is located so I can access certain directories relative to it. When I do something like
bun – node package installer failing to create its lock file
While creating the lock file of bun. by using the default bun i
command it is throwing me a error :
Can Bun import an HTML page or external text file?
I would like to reuse an HTML dialog across pages and I’m having trouble doing that. Can Bun import an HTML page / HTML code that I can then reuse?
How to have Bun use a specific tsconfig or no tsconfig
I have a project that has web pages in one directory and nodejs in another directory. I have Bun running successfully by compiling the Typescript in the sub directory. But I think that Bun is using the tsconfig.json in the root directory of the project instead of the tsconfig.json in the sub directory of the project. This might be causing Bun to output Javascript using nodejs settings instead of the settings best for Bun or client side.
Bun is adding Javascript at the top of the transpiled Javascript output
The output in some of the bundled JS file has some Javascript at the top of the page. I don’t remember it being there before. Where is it from? How do I remove it?
Getting a ReferenceError when trying to bundle a single TypeScript file with Bun
When I run bun run index.ts
I’m getting an error:
Getting an error, ReferenceError when trying to bundle a single Typescript file with Bun
When I run bun run index.ts
I’m getting an error:
Is there a wildcard option to bundle all TypeScript or HTML files in Bun?
Is there a wildcard option to tell Bun to bundle all files of a specific type?
How to fix bun.js failing to run tsc
bunx tsc --project tsconfig.json
fails with the error
Lock transitive dependencies with bun?
Bun uses package.json
and so it’s possible to specify exact versions, yet the transitive dependencies still may be different with another dependency resolution, say later in time.