use @emotion/stylis (#2640)

* use @emotion/stylis

Drops the bundle size by a fair amount... the downside is you
can't customize stylis options anymore but still can supply plugins.

This is desirable according to Sultan though as the config interface
will change with the next stylis major.

* reimplement "stylisOptions" as "disableVendorPrefixes"
This commit is contained in:
Evan Jacobs
2019-06-21 14:24:58 -05:00
parent 1f76ff90fd
commit 5b560e2851
5 changed files with 51 additions and 50 deletions

View File

@@ -1014,7 +1014,7 @@
"@emotion/styled-base" "^10.0.12"
babel-plugin-emotion "^10.0.9"
"@emotion/stylis@0.8.3":
"@emotion/stylis@0.8.3", "@emotion/stylis@^0.8.3":
version "0.8.3"
resolved "https://registry.yarnpkg.com/@emotion/stylis/-/stylis-0.8.3.tgz#3ca7e9bcb31b3cb4afbaeb66156d86ee85e23246"
integrity sha512-M3nMfJ6ndJMYloSIbYEBq6G3eqoYD41BpDOxreE8j0cb4fzz/5qvmqU9Mb2hzsXcCnIlGlWhS03PCzVGvTAe0Q==
@@ -10494,7 +10494,7 @@ stylis-rule-sheet@0.0.10, stylis-rule-sheet@^0.0.10:
resolved "https://registry.yarnpkg.com/stylis-rule-sheet/-/stylis-rule-sheet-0.0.10.tgz#44e64a2b076643f4b52e5ff71efc04d8c3c4a430"
integrity sha512-nTbZoaqoBnmK+ptANthb10ZRZOGC+EmTLLUxeYIuHNkEKcmKgXX1XWKkUBT2Ac4es3NybooPe0SmvKdhKJZAuw==
stylis@3.5.4, stylis@^3.5.0:
stylis@3.5.4:
version "3.5.4"
resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.5.4.tgz#f665f25f5e299cf3d64654ab949a57c768b73fbe"
integrity sha512-8/3pSmthWM7lsPBKv7NXkzn2Uc9W7NotcwGNpJaa3k7WMM1XDCA4MgT5k/8BIexd5ydZdboXtU90XH9Ec4Bv/Q==