When loading the Javascript code that should use the function require()in the browser, the function should be the entry point to this code require.run().
e.g. Good:
<script src="yabble.js"></script>
<script>
require.setModuleRoot('http://localhost:8030/')
require.run('my_module')
</script>
e.g. Bad (will get an error Synchronous require() is not supported):
<script src="yabble.js"></script>
<script src="http://localhost:8030/my_module.js"></script>
FYI, , Yabble . Javascript, , require(), .js script , .js script .
, .js, , require(). , ...
if (False) { require('some_module'); }
... Yabble .