evanw / evanw/node-source-map-support

appears to break webpack-dev-server bundles

Aperta
#108 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
2.2k
Fork
223
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**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)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Riproduci il fallimento con il test runner Velocity di Meteor e il pacchetto `sanjo:jasmine`, quindi ispeziona `velocity_source-map-support.js` in corrispondenza del caricamento delle source map e dei moduli webpack `eval()`. Verifica se gli errori delle source map impediscono l’esecuzione del contenuto dei moduli transpiled. Il lavoro è completato quando i bundle webpack continuano a essere eseguiti anche quando non è possibile caricare una source map.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, webpack
Ambito
tooling
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.