云开发使用typescript转义的.map格式SourceMap文件会报这个警告,不止自己的代码有,包中代码的SourceMap一样会报错,实际SourceMap会提示detected,但是实际没有生效
我调了一个比较简单的SourceMap生成结果贴上来,格式应该是没问题的
{"version":3,"file":"getClassName.js","sourceRoot":"","sources":["getClassName.ts"],"names":[],"mappings":";;;AAAA,SAAgB,YAAY,CAAC,GAAW;IACtC,IAAI,GAAG,IAAI,GAAG,CAAC,WAAW,IAAI,GAAG,CAAC,WAAW,CAAC,QAAQ,EAAE,EAAE;QACxD,IAAG,GAAG,CAAC,WAAW,CAAC,IAAI,EAAE;YACvB,OAAO,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC;SAC7B;QACD,IAAI,GAAG,GAAG,GAAG,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QACrC,IAAI,GAAG,CAAC;QACR,IAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,GAAG,EACvB;YACE,GAAG,GAAG,GAAG,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;SAC3C;aAAM;YACL,GAAG,GAAG,GAAG,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;SACrC;QACD,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,EAAE;YAC1B,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC;SACf;KACF;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAlBD,oCAkBC"}