danielmoncada / date-time-picker

Angular Date Time Picker (Responsive Design)
https://daniel-projects.firebaseapp.com/owlng/date-time-picker
MIT License
141 stars 61 forks source link

main property on package.json should be es2015 #68

Closed jpike88 closed 4 years ago

jpike88 commented 4 years ago

Angular 10 is not compatible with esm5, fesm5 bundles.

This library has this as the main property in its package.json, and it's causing issues in an angular 10 build. in the meantime I have to use an alias to force the es2015 bundle instead

"main": "bundles/danielmoncada-angular-datetime-picker.umd.js",

Should have this value instead: fesm2015/danielmoncada-angular-datetime-picker.js

danielmoncada commented 4 years ago

@jpike88 I've made an alpha version for ng10. if you have time, please try it out and let me know if there are any issues before a fully release it:

https://www.npmjs.com/package/@danielmoncada/angular-datetime-picker/v/10.0.0-alpha.0

jpike88 commented 4 years ago

confirmed working, thanks