evanw / evanw/node-source-map-support
Source map support when running the bundle on a html reporter
- 主要言語
- JavaScript
- スター
- 2.2k
- フォーク
- 223
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、ローカルの HTML reporter をブラウザで直接実行した場合と mocha-phantomjs 経由で実行した場合に、source-map-support の失敗を再現します。次に、node-source-map-support の有無で動作を比較し、ローカルファイルへのアクセスに関する苦情なしに source maps を機能させる透明な方法を定義します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- testing
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100