Decouple your app with
@gardenhq/willow. A browser and Node.js compatible, flexible dependency injection container. Configuration is 'unobtrusive', done outside of your modules, meaning no lock-in within your modules.
myVariable + '/file.js'). o only reloads the file you changed, not your entire codebase.
Specify what gets bundled and what is loaded on demand. Load polyfills only for people that need them, use keep rarely used modules out of your bundle.
bundle: false will exclude your file from the bundle a load it on demand. More options coming.
Supports 'pure' CommonJS modules as default, but if you have modules with a synchronous
require o loads those aswell (currently with the odd caveat)
Batteries included but swappable. Everything is configurable.