We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
1.0.30+1424a196f
Linux 5.15.146.1-microsoft-standard-WSL2 x86_64 x86_64
This is the content of the file to be bundled:
// importmaps/react-dom-server.ts import defaultImport from 'react-dom/server'; export {renderToNodeStream,renderToReadableStream,renderToStaticMarkup,renderToStaticNodeStream,renderToString,version} from 'react-dom/server'; export default defaultImport;
Here are the bun bundler options:
Bun.build({ entrypoints: [`./importmaps/react-dom-server.ts`], naming: '[name].js', outdir: './dist', external: ['react'], minify: true, target: 'browser', }),
This is the error message (minified code formatted with VS Code):
No duplicate Identifier, no error message when using the minified code in the browser.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Bun is running?
1.0.30+1424a196f
What platform is your computer?
Linux 5.15.146.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
This is the content of the file to be bundled:
Here are the bun bundler options:
This is the error message (minified code formatted with VS Code):
What is the expected behavior?
No duplicate Identifier, no error message when using the minified code in the browser.
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: