下载的SourceMap没有游戏逻辑的映射

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 20:36 678 0 全屏看文

AI助手支持GPT4.0

下载的SourceMap没有游戏逻辑的映射
框架类型 问题类型 操作系统 工具版本
小游戏 Bug Windows 1.04.2007032

提交代码后的生成的SourceMap文件没有游戏逻辑部分的映射,只有引擎的代码映射,subgame.js是游戏逻辑部分的代码,在game,js里引用的

Framework type problem type operating system tools version game bug windows 1.04.2007032 the generated sourcemap file after submitting the code does not have the mapping of the logical part of the game, only the code mapping of the engine, subgame.js Is the game logic part of the code, in game, JS reference

回答:

Can🌴:

给个代码片段呗

ye:是在提交代码的时候提示有个sourcemap可以下载,我下载下来看的,电脑一直提示异常,没法截图看
ye:这个生成的规则是什么呀,有的人说压缩过的代码不会生成,但是我看引擎的代码也是有生成映射的,就游戏逻辑的代码没有生成映射
ye:

哇塞,为什么没人回答

-EOF-

AI助手支持GPT4.0