diff --git a/src/node/build/bundle.ts b/src/node/build/bundle.ts index 662e9593..67669ad4 100644 --- a/src/node/build/bundle.ts +++ b/src/node/build/bundle.ts @@ -139,6 +139,12 @@ export async function bundle( ) { return 'framework' } + if (/(^|\/)config\.([cm]?js|ts|json)$/.test(id)) { + return 'framework' + } + if (id.endsWith('/vitepress/package.json')) { + return 'framework' + } if ( (id.startsWith(`${clientDir}/theme-default`) ||