astro/packages/renderers/renderer-svelte/index.js
Nate Moore 19d45496e7 [next] Update renderers (#1509)
* chore: update vite

* fix(renderers): point renderers to resolved server/client entrypoints
2021-10-15 14:10:26 -06:00

13 lines
271 B
JavaScript

import { svelte } from '@sveltejs/vite-plugin-svelte';
export default {
name: '@astrojs/renderer-svelte',
client: './client.js',
server: './server.js',
vitePlugins: [
svelte({
emitCss: true,
compilerOptions: { hydratable: true },
}),
],
};