-
-
Notifications
You must be signed in to change notification settings - Fork 544
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
[Bug] Invalid fallback "javascript/auto"
rule.type passed to getRawGeneratorOptions
#6873
Comments
"javascript/auto"
rule.type passed to getRawGeneratorOptions"javascript/auto"
rule.type passed to getRawGeneratorOptions
Are you passing an empty generator config to a rule item? |
This should be fixed by https://github.com/web-infra-dev/rspack/pull/6997/files#diff-5f5bb1aeb2a977ff30c5ab822c79f09b76476c503462939c69beb9e4d7552123, which will be released in 1.0.0-alpha.1 |
Feel free to re-open if it still exists in v1.0.0-alpha.1 |
It seems that it just avoids using According to the introduction of webpack, when the type is |
rspack/packages/rspack/src/config/adapter.ts
Line 444 in d73b4fa
The default
type
argument is"javascript/auto"
which throws an error during build as there is no condition which matchesrspack/packages/rspack/src/config/adapter.ts
Lines 683 to 728 in d73b4fa
The text was updated successfully, but these errors were encountered: