Greetings, I am working jsbundling-rails and webpack 5.88.2 – I also use babel-loader package for handling transpiling. I’m receiving an issue where auth0 is breaking in the view. The full log output is below. How can I get esm to work with webpack 5?
Uncaught SyntaxError: Invalid or unexpected token (at auth0-react.esm.js:120:65372)
at ./node_modules/@auth0/auth0-react/dist/dist/auth0-react.esm.js