OptionalwarnOptionalfollowFollow symbolic links that remain inside srcDir.
OptionalexcludeCalled for files and directories. Return true to exclude the path.
OptionalincludeCalled for valid source files. Return true to include the file.
OptionalonHow duplicate entry keys are handled.
OptionalexportsOutput contract used by warnOnExportsMismatch.
When
true, compares the generated entries againstpackage.jsonexports and emits aconsole.warnif they are out of sync.Useful in
vite.config.tsto catch forgottenvite-magic generateruns at build/dev time.