vue-style-loader
vue-style-loader copied to clipboard
Detect and skip WebWorker scripts
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