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

Bugfix/window is undefined for webworker #208

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

Aigeec
Copy link
Collaborator

@Aigeec Aigeec commented Feb 9, 2020

Fixes #201

There were two issues with the 2.1.5 code.

The first as noted in the issue itself was that there were some references to window in Oboe itself. These have been removed.

The second was that with the package now bundled by webpack it also introduced a reference to window. This is a know webpack issue (webpack/webpack#6642) (webpack/webpack#6525). I've updated the webpack config to use an expanded definition of the globalObject as per (webpack/webpack#6525 (comment))

@JuanCaicedo
Copy link
Collaborator

@Aigeec seems like a great thing to fix!

Unfortunately I'm not planning on working on Oboe moving forward. If you're confident with this PR, feel free to merge 👍

I've added you to the npm package as a maintainer so you can publish new versions in the future 😀

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.

'window is not defined' in web worker. v2.1.5 only
2 participants