Optional
compilerOptional
exclude?: ReadonlyArray<string | RegExp> | string | RegExpA pattern, or an array of patterns, which specifies the files in the build the plugin should ignore. By default, no files are ignored.
Optional
include?: ReadonlyArray<string | RegExp> | string | RegExpA pattern, or an array of patterns, which specifies the files in the build the plugin should operate on. By default, .ts
, .cts
, .mts
and .tsx
files are targeted.
An instance of TypeScript
CompilerOptions
, minus the propertiesinlineSourceMap
andsourceMap
. Used by the factory to either override the compiler options resolved from the first availabletsconfig.json
file (starting from the current working directory) if any, or as the entire set of compiler options otherwise.Note that the
inlineSourceMap
andsourceMap
properties will always be passed asfalse
andtrue
, respectively, to the underlying TypeScript compiler, in order to guarantee that the plugin is always capable of returning a source map to the Rollup engine.