rfx-stack
rfx-stack copied to clipboard
Improve debugging in development mode?
RFX Stack is great, thanks for taking the time to work on it and share.
My main issue right now is obscure debugging in development mode - when jumping to error line numbers in Chrome from the console I'm usually confronted with things like this:
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar
Making it quite difficult to see where any errors are occurring. Perhaps due to source map settings in WebPack? I'm not very familiar with the build system of RFX stack (yet).
Is that something I'm doing wrong - or is anyone else having this issue?
When you click on the filename from the console it jumps to the babel transpiled code, I don't know if it's the expected behavior.
The issue can be related to this? https://github.com/webpack/webpack/issues/2145
It seems related to the react-hot-loader
too.