Fel*_*len 7 debugging node.js source-maps babeljs babel-node
使用babel-watch,通过 Chrome 检查器调试时,我没有可用的源映射。
当运行使用相同的代码babel-node,具有相同.babelrc源的地图。
这是我的 .babelrc:
{
"presets": [
["@babel/preset-env", { "targets": { "node": "current" } } ]
],
"sourceMaps": "inline"
}
Run Code Online (Sandbox Code Playgroud)
我如何使源地图可用babel-watch?
| 归档时间: |
|
| 查看次数: |
214 次 |
| 最近记录: |