-
-
Notifications
You must be signed in to change notification settings - Fork 468
Closed
Description
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Currently, addStyles errors when running in a worker context.
If the current behavior is a bug, please provide the steps to reproduce.
- add
require("styles.css")tofoo.js new Worker("foo.js")
What is the expected behavior?
addStyles is a no-op in the worker context and does not try to add the stylesheet.