From 8c9985b37af45a8c9688c9436979549fc16b6786 Mon Sep 17 00:00:00 2001 From: Owen Buckley Date: Tue, 11 Jul 2023 21:35:09 -0400 Subject: [PATCH] remove leftover console logs (#1121) --- packages/cli/src/config/rollup.config.js | 1 - packages/cli/src/lifecycles/bundle.js | 4 ---- 2 files changed, 5 deletions(-) diff --git a/packages/cli/src/config/rollup.config.js b/packages/cli/src/config/rollup.config.js index 10e321a35..df59ef61f 100644 --- a/packages/cli/src/config/rollup.config.js +++ b/packages/cli/src/config/rollup.config.js @@ -139,7 +139,6 @@ function greenwoodPatchSsrPagesEntryPointRuntimeImport() { generateBundle(options, bundle) { Object.keys(bundle).forEach((key) => { if (key.startsWith('__')) { - console.log('this is a generated entry point', bundle[key]); // ___GWD_ENTRY_FILE_URL=${filename}___ const needle = bundle[key].code.match(/___GWD_ENTRY_FILE_URL=(.*.)___/); if (needle) { diff --git a/packages/cli/src/lifecycles/bundle.js b/packages/cli/src/lifecycles/bundle.js index b148402fa..e2f8630ba 100644 --- a/packages/cli/src/lifecycles/bundle.js +++ b/packages/cli/src/lifecycles/bundle.js @@ -217,10 +217,6 @@ async function bundleSsrPages(compilation) { const data = await executeRouteModule({ moduleUrl, compilation, page }); let staticHtml = \`${staticHtml}\`; - // console.log({ page }) - // console.log({ staticHtml }) - // console.log({ data }); - if (data.body) { staticHtml = staticHtml.replace(\/\(.*)<\\/content-outlet>\/s, data.body); }