• 请不要在回答技术问题时复制粘贴 AI 生成的内容
forreal
V2EX  ›  程序员

webpack 可以调试 babel 转换之前的代码吗?

  •  
  •   forreal · Feb 19, 2018 · 3614 views
    This topic created in 3192 days ago, the information mentioned may be changed or developed.
    如果能该怎么设置啊?谢谢各位 V 友
    3 replies  •  2018-02-19 18:44:47 +08:00
    des
    des
    Feb 19, 2018 via Android❤️1
    1
    sourceMap ?
    forreal
    forreal
    OP
    Feb 19, 2018
    2
    @des 之前用 sourceMap 看的 babel 转换之后的代码。结果发现是自己断点断错文件了。
    Eoss
    Eoss
    Feb 19, 2018 via iPhone
    3
    不用 babel 转换?

    不知道出于什么需求要调试 es6 的代码?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2233 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 14:31 · PVG 22:31 · LAX 06:31 · JFK 09:31
    ♥ Do have faith in what you're doing.