UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

29 lines (26 loc) • 728 B
import { VIRTUAL_SSR_CSS_HREF } from "../constants.mjs"; import { Fragment, jsx, jsxs } from "react/jsx-runtime"; function DevHead() { if (globalThis["__vxrnIsSPA"]) return null; if (process.env.NODE_ENV === "development") return /* @__PURE__ */ jsxs(Fragment, { children: [ /* @__PURE__ */ jsx("link", { rel: "preload", href: VIRTUAL_SSR_CSS_HREF, as: "style" }), /* @__PURE__ */ jsx("link", { rel: "stylesheet", href: VIRTUAL_SSR_CSS_HREF, "data-ssr-css": true, suppressHydrationWarning: true }), /* @__PURE__ */ jsx("script", { type: "module", src: "/@one/dev.js", suppressHydrationWarning: true }) ] }); return null; } export { DevHead }; //# sourceMappingURL=DevHead.mjs.map