@suns/react-monorepo-nx
Version:
To evaluate and compare the bundled and unbundled builds on large codebase.
2 lines (1 loc) • 1.44 kB
JavaScript
import{r as t,_ as o,j as e,L as n,T as i,S as a}from"./index-f2f184c7.js";const l="_container_th303_5",c={container:l},m=t.lazy(()=>o(()=>import("./pdf-view-93987efd.js"),["./pdf-view-93987efd.js","./index-f2f184c7.js","./index-ac36217d.css","./pdf-view-e3b0c442.css"],import.meta.url)),_=t.lazy(()=>o(()=>import("./lorem_0frontend-even-1cfd48d4.js"),["./lorem_0frontend-even-1cfd48d4.js","./index-f2f184c7.js","./index-ac36217d.css","./lorem_0shared-98e2046d.css"],import.meta.url)),d=t.lazy(()=>o(()=>import("./lorem_1frontend-even-24e522fa.js"),["./lorem_1frontend-even-24e522fa.js","./index-f2f184c7.js","./index-ac36217d.css","./lorem_0shared-98e2046d.css"],import.meta.url)),p=t.lazy(()=>o(()=>import("./lorem_2frontend-even-bd9ad7c1.js"),["./lorem_2frontend-even-bd9ad7c1.js","./index-f2f184c7.js","./index-ac36217d.css","./lorem_0shared-98e2046d.css"],import.meta.url));function u(x){const[r,s]=t.useState(!1);return e.jsxs("div",{className:c.container,children:[e.jsx("h1",{children:"Welcome to FrontendEven!"}),e.jsxs("a",{onClick:()=>s(!r),className:"list-item-link",children:[e.jsx("h3",{children:"Toggle PdfView"})," ",e.jsx("i",{children:" to load 100Mb dependency"})]}),r&&e.jsx(t.Suspense,{fallback:e.jsx(n,{}),children:e.jsx(m,{})}),e.jsx(i,{moduleUrl:import.meta.url,scope:"even",children:e.jsxs(e.Fragment,{children:[e.jsx(_,{}),e.jsx(d,{}),e.jsx(p,{})]})}),e.jsx(a,{})]})}export{u as FrontendEven,u as default};