Skip to content

v2.0.0

Compare
Choose a tag to compare
@nikolay-borzov nikolay-borzov released this 02 Jun 15:00
· 81 commits to master since this release

πŸš€ Enhancements

CLI

  • #84, #106 Running with *.js and '*.js' (quoted) should behave the same
  • --json and --tsv output data for multiple bundles
  • TSV, JSON or HTML output can be saved to a file if filename specified after --tsv, --json and --html options

API

  • explore can explore multiple bundles

πŸ’₯ Breaking changes

  • Drop Node.js 8 support

CLI

  • --json output format has changed
  • source-map-explorer bundle.min.js bundle.random-words.js.map no longer works - source map filename must follow pattern [js filename].map
  • --noroot renamed to --no-root

API

  • exploreBundlesAndWriteHtml is removed. Functionality merged into explore
  • explore is now asynchronous (because of source-map)
  • explore signature and return object has changed to support multiple bundles

πŸ› Bug fixes

  • #36 --replace should replace all instances, not just first
  • Fix broken HTML page when bundle specified as Windows absolute path

πŸ”§ Internal

  • #98 Leverage snapshot testing
  • #99 Integrate TypeScript
  • #100 Update source-map dependency
  • #108 Replace docopt by yargs