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
In the node file (index.js), I think we could
remove the typeof window !== undefined block, this way we have no conditional require
without conditional require, we can use import/export instead of require/module.exports in both files.
If not possible, LGTM
The text was updated successfully, but these errors were encountered:
ptbrowne
changed the title
cozy-flags
cozy-flags: Improve imports/exports
Mar 5, 2021
comments from @ptbrowne :
In the node file (index.js), I think we could
remove the typeof window !== undefined block, this way we have no conditional require
without conditional require, we can use import/export instead of require/module.exports in both files.
If not possible, LGTM
The text was updated successfully, but these errors were encountered: