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
Moment-timezone first checks to see if define is a "function" then checks to see if it is being declared in a module by checking for exports. This is not ideal. In situations (like mine) where your code ends up in a place where window.define is set and you are requiring moment-timezone as a node style dependency, the require returns an empty object and causes subsequent errors.
The text was updated successfully, but these errors were encountered:
Moment-timezone first checks to see if
define
is a"function"
then checks to see if it is being declared in a module by checking for exports. This is not ideal. In situations (like mine) where your code ends up in a place wherewindow.define
is set and you are requiring moment-timezone as a node style dependency, the require returns an empty object and causes subsequent errors.The text was updated successfully, but these errors were encountered: