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
19.2
Set serverModuleFormat: "esm", in remix.config.js Install ESM only package e.g. getaddress-api Run npm run dev
serverModuleFormat: "esm",
remix.config.js
npm run dev
Remix flags commonjs only packages to be bundled by serverDependenciesToBundle.
Remix flags esm-only only packages to be bundled by serverDependenciesToBundle.
The text was updated successfully, but these errors were encountered:
Note: the web build works fine without bundling these deps, so at the very least, the warning is inaccurate.
Screenshot of warning:
Sorry, something went wrong.
Fixed by #6916
No branches or pull requests
What version of Remix are you using?
19.2
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
Set
serverModuleFormat: "esm",
inremix.config.js
Install ESM only package e.g. getaddress-api
Run
npm run dev
Expected Behavior
Remix flags commonjs only packages to be bundled by serverDependenciesToBundle.
Actual Behavior
Remix flags esm-only only packages to be bundled by serverDependenciesToBundle.
The text was updated successfully, but these errors were encountered: