evanw / evanw/node-source-map-support
appears to break webpack-dev-server bundles
- Vorherrschende Sprache
- JavaScript
- Sterne
- 2.2k
- Forks
- 223
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**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.

Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Reproduziere den Fehler mit Meteors Velocity-Test-Runner und dem Paket `sanjo:jasmine` und untersuche anschließend `velocity_source-map-support.js` im Bereich des Source-Map-Ladens und der webpack-`eval()`-Module. Überprüfe, ob Source-Map-Fehler verhindern, dass die Inhalte der transpilierten Module ausgeführt werden. Erledigt ist die Aufgabe, wenn webpack-Bundles auch dann weiterlaufen, wenn eine Source Map nicht geladen werden kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, webpack
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 30/100