Skip to content

Commit

Permalink
workaround for emotion-js/emotion#2836
Browse files Browse the repository at this point in the history
  • Loading branch information
lilnasy committed Nov 15, 2024
1 parent b5f364a commit c07028e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
13 changes: 13 additions & 0 deletions patches/@emotion__cache.patch
Original file line number Diff line number Diff line change
@@ -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;
7 changes: 5 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c07028e

Please sign in to comment.