The kind of files an export can point to. It's used to guess/calculate how
the fileName will change once it ends up in the outDir after building.
If it's undefined it will not do any renaming and will use the source name.
Useful when targeting the source or for files that are not being renamed
during processing like .svelte files.
? Out of InternalModuleFormat it really is only LibraryFormats that we care about
When 'packageJsonKind' is set to DEVELOPMENT and this context is used
to calculate the paths towards the source files, 'formats' and
'fileNameFn' are not used.
The kind of files an export can point to. It's used to guess/calculate how the fileName will change once it ends up in the outDir after building. If it's undefined it will not do any renaming and will use the source name. Useful when targeting the source or for files that are not being renamed during processing like .svelte files.
? Out of InternalModuleFormat it really is only LibraryFormats that we care about