You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
hi,
when I try to use is in angular, it gives me warning:
WARNING in ./node_modules/moment-holiday/build/moment-holiday-us.min.js
10:53-60 Critical dependency: require function is used in a way in which dependencies cannot be statically e
xtracted
WARNING in ./node_modules/moment-holiday/build/moment-holiday-us.min.js
6:3284-3296 Critical dependency: the request of a dependency is an expression
and when it's loaded in browser:
Uncaught TypeError: Cannot read property 'fn' of undefined
I'm new to js and typescript, so couldn't figure out a way to fix it. so if anyone could take a look would be awesome.
what I did in code is to test some functions:
import * as holidays from 'moment-holiday';
this.locales = holidays.load('united_kingdome');
Thanks!
Silthus, lwensveen, marc-wilson, schmalzs, narfex and 1 more