diff --git a/src/mono/wasm/runtime/rollup.config.js b/src/mono/wasm/runtime/rollup.config.js index b9266366507e94..a7be94a58aa1c2 100644 --- a/src/mono/wasm/runtime/rollup.config.js +++ b/src/mono/wasm/runtime/rollup.config.js @@ -64,6 +64,13 @@ const iffeConfig = { plugins, } ], + onwarn: (warning, handler) => { + if (warning.code === "EVAL" && warning.loc.file.indexOf("method-calls.ts") != -1) { + return; + } + + handler(warning); + }, plugins: [consts({ productVersion, configuration }), typescript()] }; const typesConfig = {