Skip to content

Commit 79be2fc

Browse files
committed
add ssr support
1 parent ae53a77 commit 79be2fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rollup.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ export default () => {
2424
svelte({
2525
compilerOptions: {
2626
dev: !production,
27+
generate: 'ssr',
2728
cssHash({ hash, css, name, filename }) {
2829
return `viewable-${hash(css)}`;
2930
}
3031
},
31-
emitCss: false,
32+
emitCss: false
3233
}),
3334
babel({
3435
"extensions": [".js", ".mjs", ".html", ".svelte"],

0 commit comments

Comments
 (0)