Open Wazbat opened 1 year ago
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983
Linux 5.15.90.1-microsoft-standard-WSL2 x86_64 x86_64
Create a simple bun application Add the package
bun add puppeteer-extra
Create an src/index.ts file
src/index.ts
import puppeteer from 'puppeteer-extra'; console.log(typeof puppeteer);
Try to build the file server
bun build --target=bun ./src/index.ts --outfile=dist/server.js
I expect a server.js file to be generated
server.js
error: cannot write multiple output files without an output directory
The file runs fine if ran directly via bun, it only fails when building a server.js file The command works fine with other packages
I have the same problem with monaco-editor...
import { editor } from 'monaco-editor';
What version of Bun is running?
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983
What platform is your computer?
Linux 5.15.90.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
Create a simple bun application Add the package
Create an
src/index.ts
fileTry to build the file server
What is the expected behavior?
I expect a
server.js
file to be generatedWhat do you see instead?
Additional information
The file runs fine if ran directly via bun, it only fails when building a
server.js
file The command works fine with other packages