Thank you for contacting Syncfusion support.
We have checked the reported issue. Unfortunately, we were not able to reproduce the reported issue with the latest EJ 2 NPM version (16.3.33) at our end. Angular application with EJ 2 DateRangePicker controls, is working properly and not throwing any scripts while building the application in the production mode. For your convenience, we have prepared a sample application with EJ DateRangePicker.
Please, find the sample from the below link.
If the issue persists in your end, please provide us the following details.
- Your current EJ2 NPM package version.
- Angular version.
The above information will help us to detect the cause of the reported issue and provide you solution at the earliest.