npm source-map-explorer 2.0.0-beta.0
v2.0.0-beta.0

latest releases: 2.5.3, 2.5.2, 2.5.1...
5 years ago

🚀 Enhancements

CLI

  • #84, #106 Running with *.js and '*.js' (quoted) should behave the same
  • --json and --tsv output data for multiple bundles
  • New output option --file - saves HTML to specified file

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

Don't miss a new source-map-explorer release

NewReleases is sending notifications on new releases.