danvk / source-map-explorer

Analyze and debug space usage through source maps
Apache License 2.0
3.82k stars 100 forks source link

Runs forever on chunk from Create-React-App #159

Closed jcuffe closed 4 years ago

jcuffe commented 4 years ago

Description When attempting to analyze the source map of my built CRA project, source-map-explorer will produce an output for the main chunk, but will run forever when attempting to process chunk 2.

Steps to reproduce

  1. Create a react-app with the latest react-scripts (3.3.0)
  2. Run yarn build
  3. Run yarn run source-map-explorer build/static/js/main{...}
  4. See successful render
  5. Run yarn run source-map-explorer build/static/js/*.js
  6. See no result
  7. Run yarn run source-map-explorer build/static/js/2{...}
  8. See no result

Files to reproduce Cannot share my code, but can verify that source maps exist for each file in question.

Expected behavior I expect to see the bundle size and includes associated with my 2nd chunk.

Environment

Additional context Nothing special regarding the build environment - vanilla CRA of the latest version.

jcuffe commented 4 years ago

This is actually a duplicate of https://github.com/danvk/source-map-explorer/issues/158, apologies!