I've tried using both npm run start and ng serve for this. In all cases, the app produced does NOT work at all in IE11 and Edge.
There are many other problems surrounding IE11 and Edge but this is strictly about the problem with Angular CLI not being able to effectively include the polyfills when running ng serve.
ng serve
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
Date: 2018-10-01T15:27:24.006Z
Hash: f7ee38fccff1d585e3ed
Time: 12681ms
chunk {main} main.js, main.js.map (main) 119 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 452 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 86.4 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 7.2 MB [initial] [rendered]
i 「wdm」: Compiled successfully.
This is absolutely necessary as I need to make my app completely IE11/Edge compatible and I Can't build for production to check if centering a div has worked.
EDIT1:
Running ng serve --prod seems to actually work BUT goodness is it slow when modifying something. Would still like to find a way around this.