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 building a static site using marko-starter build
I get the following error:
ReferenceError: window is not defined
Is the assumption correct that on a statically built site the window object should be available?
How to reproduce:
create barebones component
add an import of a script.js that uses the window object
use marko-starter build
The text was updated successfully, but these errors were encountered:
SanBen
changed the title
'marko-starter build' does not recognize 'window'
'marko-starter build' does not recognize 'window' in imported script
Oct 7, 2018
When building a static site using
marko-starter build
I get the following error:
Is the assumption correct that on a statically built site the window object should be available?
How to reproduce:
marko-starter build
The text was updated successfully, but these errors were encountered: