Skip to content

Conversation

@w1ndy
Copy link

@w1ndy w1ndy commented Jan 21, 2018

What kind of change does this PR introduce?

This PR fixes #16

Did you add tests for your changes?
No

If relevant, did you update the README?
No

Summary
When importing styles from a WebWorker script, vue-style-loader fails because there is no document in the scope. This PR implements WebWorker detection and skip style imports in these scripts.

Does this PR introduce a breaking change?

No

Other information

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.

"document is undefined" in WebWorker when importing styles from css module

1 participant