main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
/*
Files in the rsc directory are meant to be packaged as part of the RSC graph using next-app-loader.
*/ import ReactDOM from "react-dom";
export function preloadStyle(href) {
ReactDOM.preload(href, {
as: "style"
});
}
export function preloadFont(href, type) {
ReactDOM.preload(href, {
as: "font",
type
});
}
export function preconnect(href, crossOrigin) {
if (typeof crossOrigin === "string") {
ReactDOM.preconnect(href, {
crossOrigin
});
} else {
ReactDOM.preconnect(href);
}
}
//# sourceMappingURL=preloads.js.map