diff --git a/src/loader.js b/src/loader.js index 9908af162a94f80111a9345f9d049f22450edee3..39e37fe08df5ce88cef99132e4887811faa906f4 100644 --- a/src/loader.js +++ b/src/loader.js @@ -241,9 +241,7 @@ function loadApp (_this, name, isEntry, customLang, source) { + ` }) ` - if (isEntry) { - output += `$app_bootstrap$('@app-application/${name}'` + ',undefined' + ',undefined' + `)` - } + output += `$app_bootstrap$('@app-application/${name}'` + ',undefined' + ',undefined' + `)` } if (process.env.DEVICE_LEVEL === DEVICE_LEVEL.LITE) { output += `var options=$app_script$\n if ($app_script$.__esModule) {\n