Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我应该在我的入口点执行以下操作:
var es5Shim = require('es5-shim');
这已正确包含在捆绑包中,但似乎必须有更好的方法,而我错过了它。
使用 -r 需要额外的依赖项:
$ browserify -r "es5-shim" ...