From e8a9536b31d71127ffc064bc384a4613511207e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Sat, 22 Jan 2022 18:13:10 +0400 Subject: [PATCH] Create createEmotionCache method --- lib/create-emotion-cache.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 lib/create-emotion-cache.js diff --git a/lib/create-emotion-cache.js b/lib/create-emotion-cache.js new file mode 100644 index 0000000..ee6d298 --- /dev/null +++ b/lib/create-emotion-cache.js @@ -0,0 +1,5 @@ +import createCache from '@emotion/cache' + +export default function createEmotionCache() { + return createCache({key: 'css-global', prepend: true}) +}