rotaready / moment-range

Fancy date ranges for Moment.js
The Unlicense
1.69k stars 202 forks source link

moment-range uses CommonJS modules, which throws a warning when using Angular 10 #281

Open mikyladewitt opened 4 years ago

mikyladewitt commented 4 years ago

Updating to Angular 10 and get warning "CommonJS or AMD dependencies can cause optimization bailouts".

Request to have an ESModule compile of this package to avoid the issue in Angular applications and allow better optimization of app with moment-range.

Here's some extra info: https://angular.io/guide/build#configuring-commonjs-dependencies

gowda57 commented 2 years ago

Any update here?