Compare commits

..

2 Commits

Author SHA1 Message Date
8ee4fd5b79 Update vite
All checks were successful
continuous-integration/drone/tag Build is passing
2024-10-26 21:56:04 +02:00
356a9696d4 Fix binding class method for emotion theme cache 2024-10-26 21:55:59 +02:00
4 changed files with 509 additions and 185 deletions

File diff suppressed because it is too large Load Diff

View File

@ -30,7 +30,7 @@
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"@types/stylis": "^4.2.0",
"@vitejs/plugin-react-swc": "^3.0.0",
"@vitejs/plugin-react-swc": "^3.7.1",
"eslint": "^9.13.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.6.3",
@ -47,6 +47,6 @@
"stylis": "^4.2.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.11.0",
"vite": "^4.3.9"
"vite": "^5.4.10"
}
}

View File

@ -13,7 +13,7 @@ const themeCache = createCache({
key: "cv",
});
const i: EmotionCache["insert"] = (...args) => themeCache.insert(...args);
const i = themeCache.insert.bind(themeCache);
themeCache.insert = (...args) => {
args[2].tags.forEach((t) => {
if (!t.getAttribute("media")) {

View File

@ -28,7 +28,7 @@
npm run check
'';
npmInstallFlags = "--no-audit --no-progress --no-fund";
npmDepsHash = "sha256-yINvhHFYT00khqo9D3rIDNSvJMdhQ1M5xa9SJEDZito=";
npmDepsHash = "sha256-P+TNtlilrzlnkclZtYrG163ucEavm9koei69ZG3sOSM=";
npmPackFlags = [ "--ignore-scripts" ];
};