webpack/examples/extra-async-chunk/example.js

9 lines
164 B
JavaScript

// a chunks with a, b, c
require(["./a", "./b", "./c"]);
// a chunk with a, b, d
require.ensure(["./a"], function(require) {
require("./b");
require("./d");
});