UNPKG

one

Version:

One is a new React Framework that makes Vite serve both native and web.

23 lines (22 loc) 695 B
import { VIRTUAL_SSR_CSS_HREF } from "../constants.mjs"; import { Fragment, jsx, jsxs } from "react/jsx-runtime"; function DevHead() { return process.env.NODE_ENV === "development" ? /* @__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": !0, suppressHydrationWarning: !0 }), /* @__PURE__ */jsx("script", { type: "module", src: "/@one/dev.js", suppressHydrationWarning: !0 })] }) : null; } export { DevHead }; //# sourceMappingURL=DevHead.mjs.map