Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'marko-starter build' does not recognize 'window' in imported script #38

Open
SanBen opened this issue Oct 2, 2018 · 0 comments
Open

Comments

@SanBen
Copy link

SanBen commented Oct 2, 2018

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
@SanBen SanBen changed the title 'marko-starter build' does not recognize 'window' 'marko-starter build' does not recognize 'window' in imported script Oct 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant