mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-05 22:07:10 -04:00
🔧:build SSR dist and deploy
This commit is contained in:
parent
76c26901d7
commit
c59ad6aedb
465 changed files with 214127 additions and 2 deletions
1
dist/client/assets/chunks/chunk-cf010ec4.js
vendored
Normal file
1
dist/client/assets/chunks/chunk-cf010ec4.js
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
const h="modulepreload",d=function(i){return"/"+i},a={},v=function(l,o,u){if(!o||o.length===0)return l();const c=document.getElementsByTagName("link");return Promise.all(o.map(e=>{if(e=d(e),e in a)return;a[e]=!0;const t=e.endsWith(".css"),f=t?'[rel="stylesheet"]':"";if(!!u)for(let r=c.length-1;r>=0;r--){const s=c[r];if(s.href===e&&(!t||s.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${f}`))return;const n=document.createElement("link");if(n.rel=t?"stylesheet":h,t||(n.as="script",n.crossOrigin=""),n.href=e,document.head.appendChild(n),t)return new Promise((r,s)=>{n.addEventListener("load",r),n.addEventListener("error",()=>s(new Error(`Unable to preload CSS for ${e}`)))})})).then(()=>l()).catch(e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e})};export{v as _};
|
Loading…
Add table
Add a link
Reference in a new issue