New issue
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
Failed to resolve the module node:* #989
Comments
Just a warning, and already resolved by #956. Just hasn't been released yet. |
Just release Thanks |
Thank you @rschristian |
I'm compiling a library that runs in both Node.js and a browser, and the library contains dynamic imports for node built-ins like 'fs', executed only in Node.js. The target for Microbundle is not necessarily Node.js. When importing
However, using
Is this intended, and (if not) should I file a separate issue for it? |
@donmccurdy Separate issue please, if you can |
node core modules can imported with
node:
prefix, e.g.require('node:fs')
don't seem to work.The text was updated successfully, but these errors were encountered: