evanw / evanw/node-source-map-support
Source map support when running the bundle on a html reporter
- Lenguaje dominante
- JavaScript
- Estrellas
- 2.2k
- Forks
- 223
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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!
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza reproduciendo el fallo de source-map-support con un reporter HTML local ejecutado directamente en un navegador y a través de mocha-phantomjs. Compara el comportamiento con y sin node-source-map-support y, a continuación, define una forma transparente de hacer que los source maps funcionen sin la queja sobre el acceso a archivos locales.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- testing
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100