When bundling js components in modules, the generated structure is not flatten and components are grouped in subdirectories.
As a developer, it will be convenient if we can additionally map the first level directories of our bundles. This will make it much easier for other developers to require our components.
For example, a bundle exposing the following components exposed in Liferay.MODULES
- [email protected]/component1/src/Component1
- [email protected]/component2/src/Component2
- [email protected]/component3/src/Component3
Should generate the following information in Liferay.MAPS: