block by Rich-Harris 79a02519fb00837e8d5a4b24355881c0

79a02519fb00837e8d5a

bundler output comparison

Response to this Stack Overflow question — a demonstration of how Rollup’s ‘scope hoisting’ works in practice.

a.js

b.js

package.json

rollup-bundle.js

webpack-bundle.js