You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to optimize my code. So I changed like recommended an Angular Compiler options:
From "annotationsAs": "decorators" to the Default Settings "static fields". Since then rollup throws errors. The problem is with exported interfaces like "FileRestrictions" in @progress/kendo-angular-upload or "DateFormatOptions" in @progress/kendo-angular-intl. Those files are after compilation empty and rollup can't handle them correctly.
I'm aware it's more an Typescript compilation or rollup issue (see for ex. angular/angular-cli#2034 (comment)), but when those interfaces would exported as classes, the problem would also go away.
Expected behavior
rollup is able to do treeshaking correctly .
If there is any other solution, would happy to hear it.
Thank you
The text was updated successfully, but these errors were encountered:
I'm submitting a...
Current behavior
I'm trying to optimize my code. So I changed like recommended an Angular Compiler options:
From "annotationsAs": "decorators" to the Default Settings "static fields". Since then rollup throws errors. The problem is with exported interfaces like "FileRestrictions" in
@progress/kendo-angular-upload
or "DateFormatOptions" in@progress/kendo-angular-intl
. Those files are after compilation empty and rollup can't handle them correctly.I'm aware it's more an Typescript compilation or rollup issue (see for ex. angular/angular-cli#2034 (comment)), but when those interfaces would exported as classes, the problem would also go away.
Expected behavior
rollup is able to do treeshaking correctly .
If there is any other solution, would happy to hear it.
Thank you
The text was updated successfully, but these errors were encountered: