I'm having an issue when deploying a React/Redux site to Azure App Service. It builds and deploys fine, but when visiting the site I get JS errors for babel-polyfill - Uncaught TypeError: define is not a function.
We're using webpack with a few loaders and there is one in particular that I have a feeling could be the problem - imports-loader. We had it set as use: 'imports-loader?define=>false'
which I believe overrides the define method. I tried this as true also but with no affect. I tried removing the define=>false
altogether and the whole build broke...
See webpack config here.
Advice much welcome!
Cheers Dave