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
Static builds have started failing for a project I'm working on since we upgraded to v5 with the following error:
ReferenceError: window is not defined
at eval (webpack:///./node_modules/brace/index.js?:20265:21)
We're not using LiveEditor (yet!), but I suspect that somewhere it's being imported that webpack can't tree-shake it, and brace doesn't like being imported outside of the browser. I don't know if Kit supports code-splitting via dynamic import(), but that might be a way to get around this.
The text was updated successfully, but these errors were encountered:
Thanks! Yeah, I think this was introduced with the Fetch component in #166 – I think the best solution is to find an editor component that works universally
Static builds have started failing for a project I'm working on since we upgraded to v5 with the following error:
We're not using LiveEditor (yet!), but I suspect that somewhere it's being imported that webpack can't tree-shake it, and
brace
doesn't like being imported outside of the browser. I don't know if Kit supports code-splitting via dynamicimport()
, but that might be a way to get around this.The text was updated successfully, but these errors were encountered: