evanw / evanw/node-source-map-support

appears to break webpack-dev-server bundles

Open
#108 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
223
PR merge metrics
No merged PRs in 30d

Description

**Note**: I discovered this issue when using Meteor's Velocity test runner, which uses `source-map-support`. The file `velocity_source-map-support.js` in the console errors is the Meteor-minified and -bundled version of this package.

Please don't inadvertently prevent code from running if there are any errors loading the source map. I haven't determined exactly how this prevents my webpack bundled code from running, but I have determined that:
1) the webpack bundle loads and attempts to execute the transpiled modules in eval() statements
2) somehow the content of the eval()s never seem to run though
3) when I remove the `sanjo:jasmine` Meteor package (thus transitively remove `velocity:source-map-support`), all of my webpack bundled code runs as usual.

![image](https://cloud.githubusercontent.com/assets/1448194/10552907/a9c9c068-741c-11e5-8128-5c96ffdbc146.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.