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
Typescript and node support esm, and it's confusing that the config file requires using a commonjs export.
Rspack should look for a default export first, and fall back to using the named exports if it doesn't find the default export.
The text was updated successfully, but these errors were encountered:
rspack supports esm config https://github.com/web-infra-dev/rspack/blob/main/packages/rspack-cli/tests/build/basic/entry.config.mjs
Sorry, something went wrong.
Oh cool, I will try that out! Seems like it needs to be added to the docs, unless I missed it?
Closed for having web-infra-dev/rspack-website#267.
Successfully merging a pull request may close this issue.
What problem does this feature solve?
Typescript and node support esm, and it's confusing that the config file requires using a commonjs export.
What does the proposed API of configuration look like?
Rspack should look for a default export first, and fall back to using the named exports if it doesn't find the default export.
The text was updated successfully, but these errors were encountered: