diff --git a/src/node/build.ts b/src/node/build.ts index 8586359..969aaaa 100644 --- a/src/node/build.ts +++ b/src/node/build.ts @@ -126,6 +126,12 @@ export async function build(ssgOptions: Partial = {}, viteC entryFileNames: '[name].cjs', format: 'cjs', }, + // @ts-expect-error rollup type + onLog(level, log, handler) { + if (log.message.includes('react-helmet-async')) + return + handler(level, log) + }, }, }, mode: config.mode,