Skip to content

Commit

Permalink
simplify condition for server plugins and active content server durin…
Browse files Browse the repository at this point in the history
…g build
  • Loading branch information
thescientist13 committed Dec 22, 2024
1 parent 161950d commit d65d570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const runProductionBuild = async (compilation) => {
});
}

if (prerender || (activeContent && prerender)) {
if (prerender) {
// start any of the user's server plugins if needed
const servers = [...compilation.config.plugins.filter((plugin) => {
return plugin.type === 'server' && !plugin.isGreenwoodDefaultPlugin;
Expand Down

0 comments on commit d65d570

Please sign in to comment.