Why does webpack use jsonp to load resources?

isn"t the js code automatically executed by loading the js file directly?
Why does webpack need to wrap the js code in a jsonp way? Is
designed to avoid namespace conflicts?

Mar.20,2021

learn about closures

Menu