@bigopon Thank you so much. You’ve actually solved the module dependency issue in the other thread I started: Possible to change a plugin's source and watch changes in the consuming application
I just had to remove srcDir
from modules
in the webpack.config.js
and I can now use relative moduleNames: PLATFORM.moduleName('./elements/hello-world')
This is so awesome. Our plugins can have dev-apps bundled with webpack and our SPAs can now reference our local plugin repos and get live updates when our plugins’ src changes!
@jbockle Thank you for introducing lerna. I don’t think we want a monorepo right now, but we’ll keep it in mind for the future. Also that plugin you have looks very useful! Our company is trying to accomplish the same thing, generating forms from jsonschema. Definitely going to have to look your plugin!