webpack async load code at runtime -


i asynchronously load javascript in app.

if code load in file like:

require.ensure([], function() {    require('./file').x(); }); 

but same code user writes in browser. in other words code doesn't come file anymore string. how this?


Comments

Popular posts from this blog

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -

php - Autoloader issue not returning Class -