Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Sourcemap report #10

Open
exodus4d opened this issue Jul 1, 2017 · 0 comments
Open

[Feature request] Sourcemap report #10

exodus4d opened this issue Jul 1, 2017 · 0 comments

Comments

@exodus4d
Copy link

exodus4d commented Jul 1, 2017

Very nice tool! ❤️

It would be awesome if you could add support for JS sourcemaps as well. Like the "minified" report, we could check filepath.match(/\.map\./g files and add sizes to a new row (optional).

This would help to analyse the sourcemap build process. E.g. whether they are:

  • inlined in the src *.js file

  • inlined in the src *.js.map file

  • reference to src *.js in *.js.map file e.g. build.js.map:

    {
      "version":3,
      "sources":["first.js", "second.js"],
      "names":[....],
      "mappings":".......",
      "file":"build.js",
      "sourceRoot":"../src"
    }
    

There are some other options as well. But I guess there are the mainly used options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants