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
hello.mts:
hello.mts
const hello = 'hello'; export default hello;
static.mjs:
static.mjs
import hello from './hello.mjs'; console.log(hello);
Execute
node --loader @esbuild-kit/esm-loader static.mjs
Error
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/mshima/git/test/hello.mjs' imported from /Users/mshima/git/test/static.mjs
This is useful for allowJs option.
allowJs
The text was updated successfully, but these errors were encountered:
Closing as a duplicate of #135
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
hello.mts
:static.mjs
:Execute
Error
This is useful for
allowJs
option.The text was updated successfully, but these errors were encountered: