I am using DayPilot Pro For Angular. When executing the build source code on the production environment, an error cannot be built as shown below. I have investigated but there is no way to fix it. I look forward to the support from DayPilot Support.
This is the .module.ts file of the function that is using DayPilot. I completely build successfully when using on dev environment. http://prntscr.com/m49ns8
For the record:
1. Problem:
Compilation error message: "Unexpected value 'DayPilotModule in ... node_modules/daypilot-pro-angular/daypilot-angular.min.d.ts' imported by the module '...'. Please add @NgModule annotation."
2. Solution: