Closed rorticus closed 7 years ago
Enhancement
When using @dojo/core/load to lazy load a module, we want automatically add the module to its own bundle
@dojo/core/load
Given,
registry.define('my-widget', () => { return load(require, './MyWidget') .then(([ MyWidget ]) => MyWidget.default); });
We want cli-build to add MyWidget to it's own bundle using something like,
cli-build
MyWidget
require(`bundle-loader?lazy&name=${widgetName}!./Widget`);
Enhancement
When using
@dojo/core/load
to lazy load a module, we want automatically add the module to its own bundleGiven,
We want
cli-build
to addMyWidget
to it's own bundle using something like,