diff --git a/packages/bbui/rollup.config.js b/packages/bbui/rollup.config.js index e285d548d6..da274e0ba5 100644 --- a/packages/bbui/rollup.config.js +++ b/packages/bbui/rollup.config.js @@ -12,6 +12,13 @@ export default { format: "esm", file: "dist/bbui.es.js", }, + onwarn(warning, warn) { + // suppress eval warnings + if (warning.code === "EVAL") { + return + } + warn(warning) + }, plugins: [ resolve(), commonjs(), diff --git a/packages/client/rollup.config.js b/packages/client/rollup.config.js index ee839424ee..9839414f7e 100644 --- a/packages/client/rollup.config.js +++ b/packages/client/rollup.config.js @@ -45,7 +45,8 @@ export default { onwarn(warning, warn) { if ( warning.code === "THIS_IS_UNDEFINED" || - warning.code === "CIRCULAR_DEPENDENCY" + warning.code === "CIRCULAR_DEPENDENCY" || + warning.code === "EVAL" ) { return }