Closed
Description
Upgrading to Redux Toolkit 2.x on a Webpack 4 repo fails due to this line:
if (cache?.has(value))
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?