cssinjs / css-vendor

Runtime vendor prefixing based on feature detection.
MIT License
66 stars 23 forks source link

Server side rendering does not work with the latest version (2.0.3) #109

Closed chengjia0807 closed 5 years ago

chengjia0807 commented 5 years ago

Hi,

I got this error with the latest version:

"document is not defined"

You can do a global search for "document.documentElement" then you'll get it.

Old version 2.0.2 got no issue.

Hope it can be fixed in short

Thanks CJ

AleshaOleg commented 5 years ago

Hi @chengjia0807,

thanks for reporting.

https://github.com/cssinjs/css-vendor/pull/108

AleshaOleg commented 5 years ago

2.0.4 released