Skip to main content

PrecompileOptions

@webda/react-email


Interface: PrecompileOptions

Defined in: packages/react-email/src/precompile.ts:10

Options of precompile

Properties​

fixApostrophes?​

optional fixApostrophes?: boolean

Defined in: packages/react-email/src/precompile.ts:30

Replace ' by ' in the html

Default​

true

output?​

optional output?: string

Defined in: packages/react-email/src/precompile.ts:20

Folder where the mustache templates are written

Default​

"./templates"

pretty?​

optional pretty?: boolean

Defined in: packages/react-email/src/precompile.ts:25

Pretty print the html

Default​

true

source?​

optional source?: string

Defined in: packages/react-email/src/precompile.ts:15

Folder containing the emails

Default​

"./emails"

sourceMap?​

optional sourceMap?: Record<string, string>

Defined in: packages/react-email/src/precompile.ts:34

Source to compiled prefix map, see importEmail