redux-toolkit.legacy-esm.js
not actually compatible with Webpack 4 due to optional chaining
#4282
Labels
bug
Something isn't working
Upgrading to Redux Toolkit 2.x on a Webpack 4 repo fails due to this line:
Webpack 4 doesn't support optional chaining without some additional plugins that can break many large projects. Is it possible to switch back to the pre-2.x transpiling method for the legacy build?
The text was updated successfully, but these errors were encountered: