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
Node version: 14.15.1 OS: Mac OS 11
This code worked fine on 5.6.1, however on 5.7.0 I am having errors.
const base = { module: { rules: [ { test: /\.s(a|c)ss$/, use: [ { loader: "css-loader", }, { loader: "sass-loader", }, ], }, { test: /\.(png|jpe?g|gif|svg)$/i, use: [ { loader: "file-loader", }, ], }, ], }, }; const development = { module: { rules: [ { test: /\.s(a|c)ss$/, use: ["style-loader"], }, ], }, }; mergeWithRules({ module: { rules: { test: "match", use: "prepend", }, }, })(base, development)
Error message: TypeError: Cannot read property 'use' of undefined
The text was updated successfully, but these errors were encountered:
Thanks for the report. It feels like a missing piece of logic (likely a missing test earlier). I'll check this one.
Sorry, something went wrong.
fix - Fix undefined use (#166)
249fc5d
Closes #165.
Fixed in 5.7.1.
Successfully merging a pull request may close this issue.
Node version: 14.15.1
OS: Mac OS 11
This code worked fine on 5.6.1, however on 5.7.0 I am having errors.
Error message: TypeError: Cannot read property 'use' of undefined
The text was updated successfully, but these errors were encountered: