fix(client): waitSeconds: 120s

This commit is contained in:
chenos 2023-08-19 09:30:19 +08:00 committed by GitHub
parent 5689c51b11
commit 972b2be10e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ export function getRemotePlugins(
} }
requirejs.requirejs.config({ requirejs.requirejs.config({
waitSeconds: 120,
paths: pluginData.reduce<Record<string, string>>((memo, item) => { paths: pluginData.reduce<Record<string, string>>((memo, item) => {
memo[item.packageName] = `${baseURL}${item.url}`; memo[item.packageName] = `${baseURL}${item.url}`;
memo[`${item.packageName}/client`] = `${baseURL}${item.url}.js?client`; memo[`${item.packageName}/client`] = `${baseURL}${item.url}.js?client`;