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).
3 lines
64 B
JavaScript
3 lines
64 B
JavaScript
// @flow
|
|
export let isBrowser = typeof document !== 'undefined'
|