Publish the prerendered static export (index.html, 404.html, cinema/,
c/, about/, for-cinemas/, for-film-lovers/, assets/, images/, og/,
sitemap.xml, robots.txt) as the site root and remove the React Router
+ Nitro source tree from this branch. Source remains available in
history at 0548772.
Note: public/sw.js here reports VERSION v2.0.5 while the removed source
tree (v2.1.0) was newer, and .gitignore was not carried over.
1 line
1.2 KiB
JavaScript
1 line
1.2 KiB
JavaScript
var e=class extends Error{packageName;code=`ERR_AGENT_NATIVE_OPTIONAL_PEER`;constructor(e,t){super(`This feature requires optional peer ${e}. Install it with \`pnpm add ${e}\`. For feature-specific packages and the upgrade path, see https://github.com/BuilderIO/agent-native/blob/main/packages/core/docs/content/upgrading-core-ui.mdx.`,t),this.packageName=e,this.name=`OptionalPeerDependencyError`}};async function t(t,r){try{return await r()}catch(r){throw n(r,t)?new e(t,{cause:r}):r}}function n(e,t){let n=new Set,i=e;for(let e=0;e<8;e++){if(!i||typeof i!=`object`||n.has(i))return!1;n.add(i);let e=`code`in i?i.code:void 0,a=`message`in i?String(i.message):``;if(e===`ERR_MODULE_NOT_FOUND`||e===`MODULE_NOT_FOUND`){let e=a.match(/Cannot find (?:package|module) ['"]([^'"]+)['"]/)?.[1];if(r(e,t))return!0}if(r([/Could not resolve ["']([^"']+)["'] imported by ["'][^"']+["']\. Is it installed\?/.exec(a)?.[1],/Failed to resolve import ["']([^"']+)["'] from ["'][^"']+["']\. Does the file exist\?/.exec(a)?.[1],/(?:Rollup|Rolldown) failed to resolve import ["']([^"']+)["']/.exec(a)?.[1]].find(e=>e!==void 0),t))return!0;i=`cause`in i?i.cause:void 0}return!1}function r(e,t){return e===t||e?.startsWith(`${t}/`)===!0}export{t as n,e as t}; |