Description
Running npx source-map-explorer ./dist/main*.js files in node 18.x but works in node 16.x
Steps to reproduce
- Go to a project you want to analyze
- Run
npx source-map-explorer in node 18.x
- See error:
You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
Expected behavior
Explorer should work in both node 16 and newer 18.x current version
Environment
- OS: macOS Ventura 13.5.1
- source-map-explorer Version 2.5.3
Description
Running
npx source-map-explorer ./dist/main*.jsfiles in node 18.x but works in node 16.xSteps to reproduce
npx source-map-explorerin node 18.xYou must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumerExpected behavior
Explorer should work in both node 16 and newer 18.x current version
Environment