Currently cli-build-widget has a single target, which is to compile a dojo widget into a custom element.
We should look to add a new "target" for building a widget library that can be be shared across multiple downstream projects. This needs to include building the widgets (to .mjs and .js), css and provide the widget typings files.
Currently
cli-build-widget
has a single target, which is to compile a dojo widget into a custom element.We should look to add a new "target" for building a widget library that can be be shared across multiple downstream projects. This needs to include building the widgets (to
.mjs
and.js
), css and provide the widget typings files.Possible example usage: