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

replace window with self #1491

Merged
merged 1 commit into from
May 24, 2018
Merged

replace window with self #1491

merged 1 commit into from
May 24, 2018

Conversation

Rich-Harris
Copy link
Member

fixes #1487. Have confirmed it does indeed now run in a worker, though I can't think of a great way to test it in Node. In lieu of that we can fix magic-string and use the REPL as a canary: https://github.com/sveltejs/svelte.technology/blob/2f1f84d49d8f11d503fbbcf2db2e8115ae2d7da5/routes/repl/_worker.js#L1

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

Successfully merging this pull request may close these issues.

Doesn't run in a web worker
1 participant