diff --git a/package.json b/package.json index 55075e9..28f011b 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "packageManager": "pnpm@9.12.1", "pnpm": { "patchedDependencies": { + "@emotion/cache": "patches/@emotion__cache.patch", "@preact/preset-vite": "patches/@preact__preset-vite.patch", "@prefresh/core": "patches/@prefresh__core.patch", "astro": "patches/astro.patch", diff --git a/patches/@emotion__cache.patch b/patches/@emotion__cache.patch new file mode 100644 index 0000000..3eb6a9a --- /dev/null +++ b/patches/@emotion__cache.patch @@ -0,0 +1,13 @@ +diff --git a/dist/emotion-cache.cjs.js b/dist/emotion-cache.cjs.js +index 3019c2ec3195c20729f32ee76f39ce6559c72423..c8238cc7ad7a4c38e812b1c6f3cddbd82482f129 100644 +--- a/dist/emotion-cache.cjs.js ++++ b/dist/emotion-cache.cjs.js +@@ -442,7 +442,7 @@ createCache(options + ) => string | void */ + + +- var omnipresentPlugins = [compat, removeLabel]; ++ var omnipresentPlugins = [removeLabel]; + + if (isBrowser) { + var currentSheet; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9244e8c..10f0731 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,6 +5,9 @@ settings: excludeLinksFromLockfile: false patchedDependencies: + '@emotion/cache': + hash: s7kgtic6wq3oqiq2nccfi3wlxq + path: patches/@emotion__cache.patch '@preact/preset-vite': hash: wx4a2puiselz4n5hatk6npe6l4 path: patches/@preact__preset-vite.patch @@ -2370,7 +2373,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@emotion/cache@11.13.1': + '@emotion/cache@11.13.1(patch_hash=s7kgtic6wq3oqiq2nccfi3wlxq)': dependencies: '@emotion/memoize': 0.9.0 '@emotion/sheet': 1.4.0 @@ -2381,7 +2384,7 @@ snapshots: '@emotion/css@11.13.4': dependencies: '@emotion/babel-plugin': 11.12.0 - '@emotion/cache': 11.13.1 + '@emotion/cache': 11.13.1(patch_hash=s7kgtic6wq3oqiq2nccfi3wlxq) '@emotion/serialize': 1.3.2 '@emotion/sheet': 1.4.0 '@emotion/utils': 1.4.1