I remember we haven't add varfication for this, when fixing #6448.
|
With `includeDependenciesRecursively: false`, depended modules of a group might be left in the entry chunks. It's invalid to export non-entry module from an entry chunk. To avoid this, we strongly recommend to set: |
|
|
|
- [`InputOptions.preserveEntrySignatures: false | 'allow-extension'`](/reference/config-options#preserveentrysignatures) |
If people use includeDependenciesRecursively: false with forgetting to set InputOptions.preserveEntrySignatures: false | 'allow-extension', it's better to raise errors for invalid cases.
Otherwise, people will think it's expected to create non-entry exports from entry chunks, which is against the intention of InputOptions.preserveEntrySignatures: 'strict'