Skip to content

Commit 912039e

Browse files
committed
fix: always optimize for SSR (might fail)
1 parent a7e0070 commit 912039e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

rollup.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const rootConfig = {
2323
}),
2424
css(),
2525
analyze({ summaryOnly: true }),
26+
vue({ css: false, template: { optimizeSSR: true } }),
2627
],
2728
external: [
2829
...Object.keys(pkg.dependencies),
@@ -47,7 +48,6 @@ export default [
4748
format: "esm",
4849
file: pkg.module,
4950
},
50-
plugins: [...rootConfig.plugins, vue()],
5151
},
5252
// SSR build.
5353
{
@@ -57,9 +57,5 @@ export default [
5757
file: pkg.main,
5858
exports: "named", // remove warning about mixed exports
5959
},
60-
plugins: [
61-
...rootConfig.plugins,
62-
vue({ css: false, template: { optimizeSSR: true } }),
63-
],
6460
},
6561
];

0 commit comments

Comments
 (0)