Translations:Manual:$wgResourceLoaderValidateStaticJS/4/en

If set to true, statically-sourced (file-backed) JavaScript resources will be parsed for validity before being bundled up into ResourceLoader modules.