source-map-explorer icon indicating copy to clipboard operation
source-map-explorer copied to clipboard

Expose functions

Open pan-pawel opened this issue 6 years ago • 1 comments

This PR is related to this issue #156

We would like to use source-map-explorer with e.g RAM Bundles (more info in issue) To minimize the number of changes in the code we can just simply export a few of the functions that are used to calculate and present the data. With those functions, we can go through the process of calculating and presenting ourselves

Changes

-export getExploreResult, writeHtmlToTempFile, loadSourceMap and computeFileSizes functions.

pan-pawel avatar Jan 21 '20 00:01 pan-pawel

Coverage Status

Coverage remained the same at 96.552% when pulling 3170af6e0162e25db1eb3db85e15fc680aed69a9 on pan-pawel:expose-functions into fe52007207c249ca42761933a51a80d9b47f0025 on danvk:master.

coveralls avatar Jan 21 '20 00:01 coveralls