From d860848c95c419c911bd74feacc4bc53bf707c03 Mon Sep 17 00:00:00 2001 From: zhangbingce Date: Mon, 7 Mar 2022 20:34:04 +0800 Subject: [PATCH] delete ?entry of .ts in sourcemap Signed-off-by: zhangbingce Change-Id: Icdbcefaefda86a677d5aa5b3b7396132b9d812dd --- compiler/src/compile_info.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/src/compile_info.ts b/compiler/src/compile_info.ts index 6e5fdb4..03f475d 100644 --- a/compiler/src/compile_info.ts +++ b/compiler/src/compile_info.ts @@ -81,6 +81,7 @@ export class ResultStates { Reflect.ownKeys(assets).forEach(key => { if (/\.map$/.test(key.toString())) { assets[key]._value = assets[key]._value.toString().replace('.ets?entry', '.ets'); + assets[key]._value = assets[key]._value.toString().replace('.ts?entry', '.ts'); } }); }