Pular para o conteúdo

UNSAFE_DYNAMIC_SCRIPT: Component runs a script built at run time

Este conteúdo não está disponível em sua língua ainda.

Severity Fault Stage
error customer (the source package) build output

The component starts code that is not in the published bundle: a JavaScript Blob, a Worker or SharedWorker, importScripts, a service worker, a worklet module or WebAssembly. That code escapes every check of the build, and its source map annotations escape the neutralization of the stored bytes (rule dynamic-script).

Do the work in the component’s own code, on the main thread; heavy computing belongs on a server the component calls.