some info here on making this work: ESRI webpack version not working, see this link for info on making ESRI javascript api work with webpack: http://tomwayson.com/2016/11/27/using-the-arcgis-api-for-javascript-in-applications-built-with-webpack/ https://gist.github.com/gund/6b22d5ffae42849252abc9a689eb656d
some info here on making this work:
ESRI webpack version not working, see this link for info on making ESRI javascript api work with webpack:
http://tomwayson.com/2016/11/27/using-the-arcgis-api-for-javascript-in-applications-built-with-webpack/
https://gist.github.com/gund/6b22d5ffae42849252abc9a689eb656d