I have recently integrated the Angular2 quickstart code into my existing webpack setup, but I seem to be facing an issue where something is interfering with the promise from zone.js
, resulting in an error. Based on my research on Stack Overflow, it appears that the zone.js
file should be loaded after any files that might contain promises.
My assumption is that the HTML with the <src>
tag pointing to the zone.js
file is being loaded before webpack finishes loading other files in the node_module
directory.
Does anyone have any suggestions or ideas on how to resolve this?
Here is the content of my current package.json
:
{
"name": "site-pinger",
"version": "1.0.0",
...
Below is the configuration from my webpack.config.js
:
'use strict'
...
In my index.html file, I've manually included the zone.js
file to prevent any potential conflicts:
<!doctype html>
...