Global is Not defined Angular 7
After adding in the fix #9 compiling in angular 7 is fine but then I run into this error. Please test if this is compatible with Angular 7
js2excel.min.js:1 Uncaught ReferenceError: global is not defined at js2excel.min.js:1 at push../node_modules/js2excel/dist/js2excel.min.js.Zd (js2excel.min.js:1) at Object../node_modules/js2excel/dist/js2excel.min.js (js2excel.min.js:1) at webpack_require (bootstrap:78) at Module../src/app/download/download.component.ts (main.js:264) at webpack_require (bootstrap:78) at Module../src/app/app-routing.module.ts (main.js:74) at webpack_require (bootstrap:78) at Module../src/app/app.module.ts (app.component.ts:12) at webpack_require (bootstrap:78)
Also running into this, unfortunately :(
Hello @emilionavarro @Bmastaz add this to your polyfill.ts file in your angular project
(window as any).global = window;