rax icon indicating copy to clipboard operation
rax copied to clipboard

[BUG] <title> 产物缺失 tsx 文件,sourceMap 无效

Open GreyZhou opened this issue 2 years ago • 0 comments

⌨️

  • [ ] Would you like to work on a fix?

Where is the bug from?

Rax App

Minimal code and steps to reproduce the bug

重装 node_modules 后,sourceMap 无效。

Current and expected behavior

目前:缺失 sourceMap 所映射文件 期望:产物中包含 js/ts 文件

Environment

  • Node: v14.0.0
  • rax-app: v3.8.18
  • browser: chrome

build.json

No response

Possible solution

No response

Additional context

  1. 确认过,有 sourceMap 文件
  2. webpack 产物里没有 ts/js 文件 image

初步猜测:rax-app 下的某个包升级,导致 webpack 产物中没有 js 文件,于是 sourceMap 无法指向对应文件。

GreyZhou avatar Jul 13 '22 09:07 GreyZhou