Describe the bug
The sub menu is failing when I do an production configuration bulid.
"Compiling with Angular in legacy View Engine compilation mode.
An unhandled exception occurred: Template parse errors:
Can't bind to 'subMenu' since it isn't a known property of 'ng-template'.
If 'subMenu' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of
this component.
To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
Multiply function
<ng-template *ngIf="this.treetype!='input'" [ERROR ->][subMenu]="convertSubMenu">
Convert
"
To Reproduce
Steps to reproduce the behavior:
I have a component that uses the context menu(as an npm package)
I have referred the context menu component in another project
normal builds are working fine
When i try to do and ng build --configuration production , I get this error
Describe the bug The sub menu is failing when I do an production configuration bulid. "Compiling with Angular in legacy View Engine compilation mode. An unhandled exception occurred: Template parse errors: Can't bind to 'subMenu' since it isn't a known property of 'ng-template'.
To Reproduce Steps to reproduce the behavior: