TransformTemplateOptions
Defined in: index.ts:4
Options for transformTemplate.
Properties
Section titled “Properties”
optionaldirs?:string[]
Defined in: index.ts:14
Additional directory path segments. Any file whose resolved id contains one of these strings is transformed into a default-exported string, regardless of extension (except .json, which is handled natively by most bundlers and should not be double-transformed).
Example
Section titled “Example”transformTemplate({ dirs: ["/commands/setup/templates/"] })