diff --git a/src/node/build/build.ts b/src/node/build/build.ts index 685a92b6..b5c50978 100644 --- a/src/node/build/build.ts +++ b/src/node/build/build.ts @@ -45,6 +45,10 @@ export async function build( buildOptions ) + if (process.env.BUNDLE_ONLY) { + return + } + const entryPath = path.join(siteConfig.tempDir, 'app.js') const { render } = await import(pathToFileURL(entryPath).toString())