bpanel
bpanel copied to clipboard
bpanel plugin build process should skip plugins that don't have expected exports
If an invalid module happens to be added to the config, the build should skip it. Currently, the build will crash and none of the plugins will get built.
Steps to reproduce:
- use bpanel-cli to install a non-plugin from npm e.g.
bpanel-cli i @bpanel/bpanel-ui
(or add manually to config.js) - wait for build to finish
- Refresh webpage and you'll get the blue bPanel screen of death
Should be easy to invalidate in the plugin build process.