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? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source:
// index.js import AmmoClosure, * as AmmoJs from "@cocos/ammo"; console.log(AmmoClosure, AmmoJs);
Config:
// Version 0.7.13 const esbuild = require('esbuild'); (async () => { await esbuild.build({ bundle: true, entryPoints: ['./index.js'], splitting: true, outdir: './out', format: 'esm', external: ['@cocos/ammo'], }); })();
Generated:
import AmmoClosure, { default as AmmoClosure // Repetition name `AmmoClosure` }, * as AmmoJs from "@cocos/ammo"; console.log(AmmoClosure, AmmoJs);
The text was updated successfully, but these errors were encountered:
4356e31
Thanks for reporting this. I’m surprised this hasn’t come up yet. This should be fixed in version 0.7.14.
Sorry, something went wrong.
No branches or pull requests
Source:
Config:
Generated:
The text was updated successfully, but these errors were encountered: