Adding modules to runtime
Any script can extend the runtime module system, Live offers a utility function to expose a directory of javascript modules.
The directory structure

Exposing the entire "shared" directory
Import the shared index file from the app entry point
Example result

1. Configure your webpack.config.js to treat these modules as external
webpack.config.js to treat these modules as external2. Configure your pom.xml to add explicitly show that dependency
pom.xml to add explicitly show that dependency3. Import from plugin-example in any module
plugin-example in any moduleLast updated