Problem with rollup and sourcemaps

As all scripts in src are packed into one three.js file with rollup.It’s hard to debug the engine code in such a huge file.I tried run rollup with sourcemap options “true” or “inline”.The output file seems invalid.

three.js.map file
{“version”:3,“file”:“three.js”,“sources”:[],“sourcesContent”:[],“names”:[],“mappings”:";;;;;;;;;;;;;…"}

Crossposting:

@looeee Are you sure your link is correct?

1 Like

:joy: oops. Fixed

I’m getting this issue too… do others have sourcemaps when debugging examples, or just set breakpoints in the large three.module.js? Reinstalled my npm dependencies; not sure if it’s my issue or rollup’s.