Upgrade from v2.23.1 to v2.26.2 and it broke next.js webpack config!? #1300
-
Hi all,
I upgraded react-query to the latest version and the module rules changed shape. The css loaders are found on config.module.rules[2] instead of config.module.rules[1] and css-loader has disappeared. Downgraded back to v2.23.1 again and it fixes the problem. Seems odd that react-query should be affecting my webpack config. Does anyone have an idea of why this would happen? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There's literally nothing in React Query that could affect this, so I would suggest nuking your node_modules and trying again. |
Beta Was this translation helpful? Give feedback.
There's literally nothing in React Query that could affect this, so I would suggest nuking your node_modules and trying again.