Is your feature request related to a problem? Please describe.
The plugin currently derives the root component from the package.json in the repository root.
This causes an incorrect root component when using a monorepo, where the root package.json represents the repository/workspace rather than the individual application being bundled.
The webpack plugin already provides configuration options for this use case, including:
rootComponentAutodetect
rootComponentName
rootComponentVersion
For example, the webpack plugin allows configuring the root component name explicitly when autodetection is disabled.
Describe the solution you'd like
Add the same functionality to this plugin.
Contribution
Is your feature request related to a problem? Please describe.
The plugin currently derives the root component from the package.json in the repository root.
This causes an incorrect root component when using a monorepo, where the root package.json represents the repository/workspace rather than the individual application being bundled.
The webpack plugin already provides configuration options for this use case, including:
For example, the webpack plugin allows configuring the root component name explicitly when autodetection is disabled.
Describe the solution you'd like
Add the same functionality to this plugin.
Contribution