mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
c9d833ee0b
* fix: add packages to external * fix: improve renderer error message * fix: reenable vue renderer * chore: remove `extensions` from templates * fix: reenable @astrojs/renderer-vue * refactor: add types to snowpack plugin * fix: update snowpack * fix: use manual SSR wrapper for Svelte * chore: add changesets * chore: bump snowpack * test: fix failing test * chore: remove redundant entries
18 lines
567 B
JavaScript
18 lines
567 B
JavaScript
/* App.svelte generated by Svelte v3.38.2 */
|
|
import {
|
|
create_ssr_component,
|
|
missing_component,
|
|
validate_component
|
|
} from "svelte/internal";
|
|
|
|
const App = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
|
const { __astro_component: Component, __astro_children, ...props } = $$props;
|
|
|
|
return `${validate_component(Component || missing_component, "svelte:component").$$render($$result, Object.assign(props), {}, {
|
|
default: () => `${__astro_children
|
|
? `<astro-fragment>${__astro_children}</astro-fragment>`
|
|
: ``}`
|
|
})}`;
|
|
});
|
|
|
|
export default App;
|