browser-unpack
browser-unpack copied to clipboard
Change undefined deps to null, so they can be output.
I wanted to see what external dependencies were unresolved in a bundle produced with the --no-bundle-external option. Since JSON.stringify() omits undefined values, unresolved dependencies were missing from the output.
It wasn't immediately obvious to me if module-deps has another way of representing this, but I can adjust this if needed.