v3.2.0-rc.1 webpack babel errors with optional chaining operator #913
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
3.2.0-rc.1 breaks previously hard-earned webpack config - the use of the optional chaining operator can cause problems with babel. Perhaps you should document how to get this into our webpack (and, ideally, Encore) configs? Took me a day to figure out how to resolve your previous usage and you've changed it again in 3.2.0-rc.1
It is the change of filename to
.esm.js
that breaks webpack config.In my webpack.config.js (for Encore) I had to modify the babel loader:
The text was updated successfully, but these errors were encountered: