/** @license Copyright 2020 Google LLC (BSD-3-Clause) */ /** Bundled JS generated from "@astrojs/lit/client-shim.js" */ var N = Object.defineProperty; var i = (t, n) => () => (t && (n = t((t = 0))), n); var b = (t, n) => { for (var a in n) N(t, a, { get: n[a], enumerable: !0 }); }; function s() { if (d === void 0) { let t = document.createElement('div'); (t.innerHTML = '
'), (d = !!t.firstElementChild.shadowRoot); } return d; } var d, m = i(() => {}); var p, c, f, u = i(() => { (p = (t) => t.parentElement === null), (c = (t) => t.tagName === 'TEMPLATE'), (f = (t) => t.nodeType === Node.ELEMENT_NODE); }); var h, E = i(() => { m(); u(); h = (t) => { var n; if (s()) return; let a = [], e = t.firstElementChild; for (; e !== t && e !== null; ) if (c(e)) a.push(e), (e = e.content); else if (e.firstElementChild !== null) e = e.firstElementChild; else if (f(e) && e.nextElementSibling !== null) e = e.nextElementSibling; else { let o; for (; e !== t && e !== null; ) if (p(e)) { o = a.pop(); let r = o.parentElement, l = o.getAttribute('shadowroot'); if (((e = o), l === 'open' || l === 'closed')) { let y = o.hasAttribute('shadowrootdelegatesfocus'); try { r.attachShadow({ mode: l, delegatesFocus: y }).append(o.content); } catch {} } else o = void 0; } else { let r = e.nextElementSibling; if (r != null) { (e = r), o !== void 0 && o.parentElement.removeChild(o); break; } let l = (n = e.parentElement) === null || n === void 0 ? void 0 : n.nextElementSibling; if (l != null) { (e = l), o !== void 0 && o.parentElement.removeChild(o); break; } (e = e.parentElement), o !== void 0 && (o.parentElement.removeChild(o), (o = void 0)); } } }; }); var w = i(() => { E(); }); var v = {}; b(v, { hasNativeDeclarativeShadowRoots: () => s, hydrateShadowRoots: () => h }); var S = i(() => { m(); w(); }); async function g() { let { hydrateShadowRoots: t } = await Promise.resolve().then(() => (S(), v)); window.addEventListener('DOMContentLoaded', () => t(document.body), { once: true }); } var x = new DOMParser() .parseFromString( '

', 'text/html', { includeShadowRoots: !0, } ) .querySelector('p'); (!x || !x.shadowRoot) && g(); ption> Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/examples/framework-svelte/svelte.config.js (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2023-01-19Refactor Svelte preprocess integration handling (#5901)Gravatar Bjorn Lu 1-0/+5
2023-01-19fix(astro/core): Do not automatically add trailing slash (#5608)Gravatar Junya Kono 2-5/+6
2023-01-19Fix image integration crash on Netlify Functions due to `import.meta.url` (#5...Gravatar Erika 10-102/+130
2023-01-18feat: add theme toggle button to error overlay (#5884)Gravatar Happydev 2-49/+198
2023-01-18chore: update compiler (#5896)Gravatar Nate Moore 3-5/+10
2023-01-18[ci] formatGravatar bholmesdev 1-1/+4
2023-01-18Cleanup deprecated Markdown APIs from 0.X (#5891)Gravatar Ben Holmes 5-61/+7
2023-01-18[ci] formatGravatar natemoo-re 2-6/+9
2023-01-18Remove legacy compiler error handling (#5855)Gravatar Nate Moore 6-32/+21
2023-01-18[ci] formatGravatar natemoo-re 1-1/+0
2023-01-18fix(#5723): build prerendered pages with Netlify edge functions (#5885)Gravatar Nate Moore 2-15/+5
2023-01-18chore: Fix image and MDX integrations version's number to get out of 1.0 (#5892)Gravatar Erika 2-2/+2
2023-01-18Migrate blog and docs starters to content collections (#5858)Gravatar Ben Holmes 66-778/+129
2023-01-18Refactor `Props` of `Image` and `Picture` component to support type checking ...Gravatar Happydev 5-59/+66
2023-01-17Make image and mdx changesets be minor instead of major (#5883)Gravatar Matthew Phillips 3-3/+3
2023-01-17Update blog example env name (#5877)Gravatar Bjorn Lu 2-4/+10
2023-01-17Remove unused exports (#5862)Gravatar Bjorn Lu 2-10/+5
2023-01-17Fix image integration not working on Node 18+ (#5871)Gravatar Erika 10-215/+12
2023-01-17Revert "Add missing `noPropertyAccessFromIndexSignature` to strictest tsconfi...Gravatar Bjorn Lu 2-9/+0
2023-01-17Add missing `noPropertyAccessFromIndexSignature` to strictest tsconfig profil...Gravatar Clément Nerma 2-0/+9
2023-01-17Enable skipLibCheck by default (#5872)Gravatar Bjorn Lu 2-1/+8
2023-01-14Handle server restart from Vite plugins (#5849)Gravatar Bjorn Lu 3-28/+72
2023-01-14Fix importing client-side components with alias (#5845)Gravatar Bjorn Lu 4-0/+74
2023-01-13Support envPrefix in Astro config (#5852)Gravatar Rishi Raj Jain 3-3/+8
2023-01-13Implement redesign of portfolio example (#5765)Gravatar Chris Swithinbank 58-804/+1900
2023-01-12[ci] formatGravatar natemoo-re 1-8/+10
2023-01-12Fix announcements CI actions when 2000+ characters (#5844)Gravatar Nate Moore 1-6/+45
2023-01-12[ci] release (beta) (#5792)create-astro@2.0.0-beta.0astro@2.0.0-beta.2@astrojs/webapi@2.0.0-beta.0@astrojs/vue@2.0.0-beta.1@astrojs/vercel@3.0.0-beta.1@astrojs/telemetry@2.0.0-beta.0@astrojs/tailwind@3.0.0-beta.1@astrojs/svelte@2.0.0-beta.1@astrojs/solid-js@2.0.0-beta.0@astrojs/react@2.0.0-beta.0@astrojs/prism@2.0.0-beta.0@astrojs/preact@2.0.0-beta.0@astrojs/partytown@1.0.3-beta.0@astrojs/node@5.0.0-beta.1@astrojs/netlify@2.0.0-beta.2@astrojs/mdx@1.0.0-beta.2@astrojs/markdown-remark@2.0.0-beta.2@astrojs/lit@1.0.2-beta.0@astrojs/image@1.0.0-beta.2@astrojs/deno@4.0.0-beta.2@astrojs/cloudflare@6.0.0-beta.1Gravatar Fred K. Bot 73-156/+547
2023-01-12 Add `.astro/` to `.gitignore` in example projects (#5841)Gravatar Chris Swithinbank 24-98/+46
2023-01-12chore: update changeset for `_astro` directory (#5843)Gravatar Nate Moore 1-2/+2
2023-01-12fix: pass flags to dev (#5840)Gravatar Sam Chen 3-1/+9
2023-01-12chore: update changelogs, add changeset for `_astro` directory (#5842)Gravatar Nate Moore 5-18/+10
2023-01-12[ci] formatGravatar natemoo-re 1-1/+1
2023-01-12fix(core): handle encoded characters when matching routes (#5836)Gravatar Nate Moore 8-2/+85
2023-01-12Handle compiler breaking change (#5803)Gravatar Bjorn Lu 12-328/+109
2023-01-12fix shiki css class replace logic in md and mdx integrations (#5837)Gravatar Giuseppe La Torre 3-3/+9
2023-01-11[ci] formatGravatar matthewp 2-2/+2
2023-01-11Simplify HMR handling (#5811)Gravatar Bjorn Lu 8-108/+46
2023-01-11[Content collections] Remove experimental flag (#5825)Gravatar Ben Holmes 27-103/+58
2023-01-11[Content collections] Improve content config handling (#5824)Gravatar Ben Holmes 5-58/+78
2023-01-11Run sync as part of `astro check` (#5823)Gravatar Chris Swithinbank 3-2/+13
2023-01-11[ci] update lockfile (#5815)Gravatar Fred K. Bot 1-257/+256
2023-01-11Fix order-of-execution bug when generating pages (#5822)Gravatar Nate Moore 2-2/+7
2023-01-11Fix `Code.astro` shiki css class replace logic (#5829)Gravatar Giuseppe La Torre 2-1/+6