👤U
Size: a a a
👤U
A
👤U
A
A
👤U
A
A
👤U
dependencies: An array of strings declaring all modules required for the code in the callback to execute.
callback: A function that webpack will execute once the dependencies are loaded. An implementation of the require function is sent as a parameter to this function. The function body can use this to further require() modules it needs for execution.
👤U
A
👤U
require.ensure(['slick-slider'], (require) => {const ModuleSlider = require('./slider'); ModuleSlider.init();})
👤U
👤U
👤U
A
A
👤U
👤U