Closed arnvanhoutte closed 5 years ago
How to reproduce:
1: clone https://github.com/arnvanhoutte/ng-gutenberg
2: run npm install
npm install
3: run ng serve --prod
ng serve --prod
4: go to localhost:4200 and look in console.
if you followed these steps you should see this in console:
"Super expression must either be null or a function, not undefined"
If you go to angular.json, and you turn off "optimization" on line 49 and build again, then everything does work correctly
How to reproduce:
1: clone https://github.com/arnvanhoutte/ng-gutenberg
2: run
npm install
3: run
ng serve --prod
4: go to localhost:4200 and look in console.
if you followed these steps you should see this in console:
If you go to angular.json, and you turn off "optimization" on line 49 and build again, then everything does work correctly