stealjs / steal-css

StealJS plugin for CSS
https://www.npmjs.com/package/steal-css
MIT License
2 stars 1 forks source link

Throw when there isn't a global document #31

Closed matthewp closed 7 years ago

matthewp commented 7 years ago

When there is no global document or a doneSsr.document we should throw because it means that steal-css is unable to load the CSS module in any way. This provides clearer indication of a downstream problem.

Closes #30