From 72809708a8645e8593fef2cdf455853f85ce70fc Mon Sep 17 00:00:00 2001 From: zhangbingce Date: Mon, 21 Mar 2022 20:21:17 +0800 Subject: [PATCH] fixed 3a0a6eb from https://gitee.com/zhangbingce/third_party_weex-loader/pulls/47 delete ?entry of app.js in sourcemap Signed-off-by: zhangbingce Change-Id: I9a9d8fc0f97899c1f009b8a6787655901fde124b --- src/loader.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/loader.js b/src/loader.js index 9908af1..39e37fe 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 -- Gitee