Angular 8 + grid is broken on deploy (es2015/es2018)

Hello,

I'm trying to use the Grid component (with pagging, grouping, excel export, etc). 
Everything works fine if I use 'ng serve' but when I use 'ng build --prod' I get a line instead of the grid plus the error:
"TypeError: class constructors must be invoked with |new|"

`

Tried changing from es2018 to es5 as suggested on other thread but then the code won't compile.

Regards


Attachment: projects_909c550e_a232633.zip

1 Reply

TS Thavasianand Sankaranarayanan Syncfusion Team July 2, 2019 01:10 PM UTC

Hi Adrian, 

Greetings from Syncfusion support. 

For the constructor(es2015) issue, we have already raised query(class constructor must be invoked) to angular team. They have logged this as a bug. Please find GitHub link for your reference.  


Regards, 
Thavasianand S. 


Loader.
Up arrow icon