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
When I attempt to use this library in node.js I recieve the following error:
ReferenceError: window is not defined at Object. (/Users/dbarratt/Sites/wikimedia/interaction-timeline/next/node_modules/banana-i18n/dist/banana-i18n.js:1:194)
This seems to be because the libraryTarget is umd instead of commonjs2
The text was updated successfully, but these errors were encountered:
* revert: Switch libraryTarget from umd to commonjs2
This is not the proper way to add support for Node, this breaks web support
* Set global object to "this"
Fixes#14 while keeping web support
When I attempt to use this library in node.js I recieve the following error:
This seems to be because the libraryTarget is
umd
instead ofcommonjs2
The text was updated successfully, but these errors were encountered: