Webpack
-
JavaScript
Lazy inter-module communication with require() and webpack
Motivation CommonJS’ modules can be loaded on demand with require.ensure(…). Example: require.ensure(["module-a"], function(require) { var a = require("module-a"); // module-a can…
Read More »