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

window is not defined when try to run it in separated web worker #192

Open
amr-rology opened this issue May 10, 2022 · 0 comments
Open

window is not defined when try to run it in separated web worker #192

amr-rology opened this issue May 10, 2022 · 0 comments

Comments

@amr-rology
Copy link

When i'm try to run resliceSeries() in separated web worker i got this error from cornerstone
window is not defined line: 11

MY vue.config.js :
configureWebpack: {
output: {
globalObject: "this",
},
plugins: [
new WorkerPlugin({ globalObject: "this" }),
],
}

Any help please?

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