JSPM

  • Created
  • Published
  • Downloads 28607
  • Score
    100M100P100Q128971F
  • License MIT

Extract and inline critical css with emotion for server side rendering.

Package Exports

  • emotion-server
  • emotion-server/dist/emotion-server.browser.cjs.js
  • emotion-server/dist/emotion-server.cjs.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (emotion-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

emotion-server

Extract and inline critical css with emotion.

emotion-server provides three APIs for doing server-side rendering with emotion to extract critical css, inline critical css in html to a string and inline critical css in html to a stream.

emotion-server's APIs are documented here.

npm install --save emotion emotion-server