Can not run Angular 6 script on react 16.4 app

I am trying to develop an Angular script which we can embed on any site using on script tag but it gives me following error while trying to embed it in react app.
enter image description here

Here is what it says on line 196 of my Angular bundle.
var c=window.webpackJsonp=window.webpackJsonp||[],a=c.push.bind(c);c.push=e,c=c.slice();

please let me know If you need any further info to help me out…

More screenshots after using completly unminified version
webpackJsonP in Angular pollyfills
webpackJsonP in webpack bootstrap

So looks like I am having conflict in this 2 setups. I have access with Angular code only.
What should I do?

Leave a Comment