mirror of https://github.com/nuxt/nuxt.git
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