Load React + Emotion from CDN URLs, use globals
Remove @emotion/babel-preset-css-prop and import { jsx } from
@emotion/core directly instead so Rollup can preserve imports order when
bundling (instead of @emotion/core automatically inserting itself as the
first import).
This commit is contained in:
2
public/@emotion/core@10.0.6/src/utils.js
Normal file
2
public/@emotion/core@10.0.6/src/utils.js
Normal file
@ -0,0 +1,2 @@
|
||||
// @flow
|
||||
export let isBrowser = typeof document !== 'undefined'
|
||||
Reference in New Issue
Block a user