evanw / evanw/node-source-map-support

Source map support when running the bundle on a html reporter

Ouverte
#69 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
2.2k
Forks
223
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hey!, any ideas on how to make this work while uing the html reporter. My current setup has a local html file that is my reporter and that file I make it run either in the browser or in jenkins with https://github.com/metaskills/mocha-phantomjs which is very nice.
My problem is that if I try installing the node-source-map-support the reporter will complain since I'm trying to access local files from the browser, any suggestions for using this with this configuration?

I guess running a local tiny server would be a solution but wondering if there are other options for getting the source maps so it's more transparent.

Thanks!

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par reproduire l’échec de source-map-support avec un reporter HTML local exécuté directement dans un navigateur et via mocha-phantomjs. Comparez le comportement avec et sans node-source-map-support, puis définissez une manière transparente de faire fonctionner les source maps sans le message concernant l’accès aux fichiers locaux.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript
Domaine
testing
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.