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 }}
Repository navigation
Replacing global (node only) with globalThis (cross-platform) #22
Activity
calvinmetcalf commentedon Sep 8, 2020
@jimmywarting yes you are correct on the reasons, this is meant to be used with browserify or webpack which auto handle subbing those things in
matthewdavi commentedon Apr 15, 2021
This would be a big help. I am using this tool with Vite and it currently throws an error due to using global instead of globalThis.
calvinmetcalf commentedon Apr 15, 2021
yeah I don't thing globalThis has enough support to be used exclusively yet https://github.com/rollup/plugins/tree/master/packages/inject might help you out