[MM-58445] Try deferring plugins scripts loading (#27179)

This commit is contained in:
M-ZubairAhmed 2024-06-09 07:16:14 +00:00 committed by GitHub
parent f3e760008c
commit e2abac5486
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -153,6 +153,7 @@ export function loadPlugin(manifest) {
script.id = 'plugin_' + manifest.id;
script.type = 'text/javascript';
script.src = getSiteURL() + bundlePath;
script.defer = true;
script.onload = onLoad;
script.onerror = onError;