Closed
Description
After change #61212 Rollup started producing warning about eval.
(!) Use of eval is strongly discouraged
https://rollupjs.org/guide/en/#avoiding-eval
method-calls.ts
We could suppress it globally, but it's not ideal.
{
onwarn(warning, warn) {
if (warning.code === 'EVAL') return
warn(warning)
}
}
As @lewing suggested, we should consider deprecating the method, since it's only internal API.