Skip to content

[worker-loader] window is not defined #2276

Closed
@screendriver

Description

@screendriver

Version

3.0.1

Reproduction link

https://github.com/screendriver/vue-cli-worker-loader-bug

Node and OS info

Node 10.9.0 / yarn 1.9.4 / macOS high sierra

Steps to reproduce

Just do a yarn serve and open http://localhost:8080 in your browser. You can see the error immediately.

What is expected?

Should not throw Uncaught ReferenceError: window is not defined.

What is actually happening?

Throws the error and doesn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions