diff --git a/packages/cli/src/commands/build.js b/packages/cli/src/commands/build.js index fc65dc03b..56fdeb952 100644 --- a/packages/cli/src/commands/build.js +++ b/packages/cli/src/commands/build.js @@ -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;