mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 09:25:54 +00:00
fix: hide rollup circular and eval
This commit is contained in:
parent
82f6db6bca
commit
5c8ac226f1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user