@@ -22,7 +22,7 export function bundle<T extends object> | |||||
22 | fn.define = (pack: Partial<T>) => pack; |
|
22 | fn.define = (pack: Partial<T>) => pack; | |
23 | fn.default = nlsBundle.default; |
|
23 | fn.default = nlsBundle.default; | |
24 | fn.load = async (id: string, require: Require, cb: OnLoad, config: any) => { |
|
24 | fn.load = async (id: string, require: Require, cb: OnLoad, config: any) => { | |
25 | if (config.isBuild) { |
|
25 | if (config && config.isBuild) { | |
26 | cb(); |
|
26 | cb(); | |
27 | } else { |
|
27 | } else { | |
28 | try { |
|
28 | try { |
General Comments 0
You need to be logged in to leave comments.
Login now