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

* fix(renderers): point renderers to resolved server/client entrypoints
2021-10-22 16:25:36 -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 },
}),
],
};