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 Aug 4, 2021. It is now read-only.
As far as I can tell, this is string-searching for "global" and switching behaviour as a result.
My builds started failing because I had a JS comment that contained the word "global".
The error suggested the failure was when it tried to parse an async function - not sure why it failed there, but if I delete "global" from a previous comment everything works again.
rollup-plugin-commonjs/src/transform.js
Line 15 in 14130a7
As far as I can tell, this is string-searching for "global" and switching behaviour as a result.
My builds started failing because I had a JS comment that contained the word "global".
The error suggested the failure was when it tried to parse an async function - not sure why it failed there, but if I delete "global" from a previous comment everything works again.
Here's my rollup config:
I've added
{ignoreGlobal: true}tocommonjsto fix things in the meantime.