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