FormidableLabs / inspectpack

An inspection tool for Webpack frontend JavaScript bundles.
MIT License
592 stars 20 forks source link

Scenario / test fixture: Tink #87

Open ryan-roemer opened 5 years ago

ryan-roemer commented 5 years ago

https://github.com/npm/tink

Should work like existing multiple-roots scenario.

Tasks:

zkat commented 5 years ago

You shouldn't need to do anything particularly special once tink is ready for use. Because it simulates node_modules, there's basically no real need to special-case anything: Just throw what you currently have at it and the analysis will be fairly accurate, unless you're trying to calculate the on-disk cost of the source files. If you're trying to calculate bundle sizes, though, it's all identical, or it should be. I'd rather you not have to do any extra work here! I want it to Just Work™!

ryan-roemer commented 5 years ago

Thanks for the comment and great to hear!!!