dojo / cli-build-widget

Command for building Dojo widgets
Other
6 stars 17 forks source link

Custom element loader #101

Closed maier49 closed 3 years ago

maier49 commented 4 years ago

Changes described in dojo/framework#770 and some additional test changes. Depends on dojo/framework#825 as well as dojo/webpack-contrib#295

There's also one (potentially significant) caveat with these. changes. The bootstrap file and all the dynamically loaded files for individual widgets will end up in the dist folder the same way widget custom element scripts do now. However, when individual widget files are linked in index.html they are each copied over. Here only the bootstrap file is linked and so only it is copied over. The rest of the files (or the entire directory) for any widgets that might be loaded would need to be added to the externals configuration and copied over explicitly.

agubler commented 3 years ago

Superseded by https://github.com/dojo/cli-build-widget/pull/108