Open kwek opened 7 years ago
Thanks for the PR.
I agree that we should make the devtool configurable.
Following create-react-app’s footsteps, we can change the default devtool to 'eval'
for best performance and debugging experience. Maybe if the configuration already includes devtool
, we can leave that alone (not forcing devtool to be '#cheap-eval-module-source-map'
).
Hello, first of all great work on this project. This makes development much easier than the regular karma runner.
However I noticed console tracebacks are not displayed correctly in the browser as a test result. For example, I see something like this. Notice that it displays
test.bundle.js:4652
which is unclear where it came from.I reduced the problem to the line
config.devtool = '#cheap-eval-module-source-map'
in test-bed/createServer.jsIf i change the devtool to 'cheap-module-source-map', then the backtrace looks like this. Now its clear it came from
CustomQueryFilterOverlay.js:41
Should we make the devtool configurable or could this be an issue in our setup maybe. Any help is appreciated and i'm happy to make a PR if needed.