diff --git a/packages/nitro/src/rollup/config.ts b/packages/nitro/src/rollup/config.ts index 437533610f..e76d91cd91 100644 --- a/packages/nitro/src/rollup/config.ts +++ b/packages/nitro/src/rollup/config.ts @@ -75,7 +75,12 @@ export const getRollupConfig = (sigmaContext: SigmaContext) => { preferConst: true }, external, - plugins: [] + plugins: [], + onwarn (warning, rollupWarn) { + if (!['CIRCULAR_DEPENDENCY', 'EVAL'].includes(warning.code)) { + rollupWarn(warning) + } + } } if (sigmaContext.timing) {