Standard Plugin Template and Code Splitting
Building a plugin that does code splitting with the standard plugin template (https://git.dmx.systems/dmx-plugins/dmx-plugin-template) results in a bundle containg more than one ...plugin.js
file. Once the plugin is deployed an "ambiguity exception" is thrown at server-side:
Jul 02, 2019 1:27:11 PM systems.dmx.core.osgi.PluginActivator start
SCHWERWIEGEND: An error occurred while starting plugin "DMX Tableview":
java.lang.RuntimeException: Ambiguity: found 3 *.plugin.js files in /web
at systems.dmx.core.impl.PluginImpl.getSingleResource(PluginImpl.java:302)
at systems.dmx.core.impl.PluginImpl.pluginInfo(PluginImpl.java:290)
at systems.dmx.core.impl.PluginImpl.<init>(PluginImpl.java:103)
at systems.dmx.core.osgi.PluginActivator.start(PluginActivator.java:55)
This is a follow-up to dmx-plugins/dmx-tableview#49 (closed)
Thank you, @mukil, for reporting!