I'm encountering a puzzling issue with webpack that I can't seem to resolve.
Here is the link to my webpack.config file:
https://github.com/saike/maluvich-browser/blob/master/webpack.config.babel.js
In my project, I import angular using ES6 module imports:
https://github.com/saike/maluvich-browser/blob/master/src/maluvich.js
Then, I bootstrap the Angular app as usual after the DOMContentLoaded event:
https://github.com/saike/maluvich-browser/blob/master/index.html
However...
When I attempt to log(window), it displays something unexpected:
and also this:
It seems like webpack or some other tool has merged Angular and window together, but I'm unable to identify the root cause of the problem.
If anyone could provide assistance, I would greatly appreciate it. Thank you!