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
Dynamic import with template literals problem. Used esbuild-darwin-64@0.0.10.
esbuild-darwin-64@0.0.10
// x.js export const a = 1; // test.js (async () => { await import(`./x.js`); })();
Run: esbuild --bundle test.js --outfile=build.js
esbuild --bundle test.js --outfile=build.js
Expected output:
Wrote to build.js
Actual output:
test.js:2:17: error: The argument to import() must be a string literal
The text was updated successfully, but these errors were encountered:
d5b0e27
No branches or pull requests
Dynamic import with template literals problem. Used
esbuild-darwin-64@0.0.10
.Run:
esbuild --bundle test.js --outfile=build.js
Expected output:
Actual output:
The text was updated successfully, but these errors were encountered: