bun icon indicating copy to clipboard operation
bun copied to clipboard

Bun compile include npx / bunx scripts

Open swanux opened this issue 1 year ago • 0 comments

What is the problem this feature would solve?

Example: playwright test can only be run by calling the binary from node_modules. Now I have to duplicate provide the playwright module in the working directory of the compiled bun exe. If somehow I could execute npx / bunx on playwright (or access the included code of node modules) it'd be a useful feature.

What is the feature you are proposing to solve the problem?

Mentioned above.

What alternatives have you considered?

Pkg and nexe - unfortunately they don't work well with typescript, use hacky solutions and the development is not too active (especially pkg).

swanux avatar May 22 '24 10:05 swanux