Open yuu2lee4 opened 7 years ago
if the http resource is a AMD module,hao to load it?
you can load it directly. when the RESOURCE load complete, you can use it in the Promise.then, like requirejs.
but, i think you may need it , http://webpack.github.io/docs/code-splitting.html see: require.ensure
if the http resource is a AMD module,hao to load it?