Relative Content

Tag Archive for bun

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.

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.