source-map-explorer-remote

Wrapper around source-map-explorer that works with remote URLs and supports chrome code coverage json

Usage no npm install needed!

<script type="module">
  import sourceMapExplorerRemote from 'https://cdn.skypack.dev/source-map-explorer-remote';
</script>

README

What is this?

Wrapper around source-map-explorer that works with remote URLs and chrome code coverage.

Install:

npm install -g source-map-explorer-remote

Usage

source-map-explorer-remote https://example.com/path/to/bundle-with-sourcemap.min.js

Usage with chrome coverage json:

source-map-explorer-remote https://example.com/path/to/bundle-with-sourcemap.min.js --coverage ./path/to/coverage.json

Example example-result-with-coverage

Difference with remote-source-map-explorer

This package use newer version of source-map-explorer that supports chrome code coverage.