Interface: BrowserCompilerOptions¶
Defined in: browser-compiler/src/compiler.ts:48
Options for the browser compiler.
Properties¶
cache?¶
optionalcache?:boolean
Defined in: browser-compiler/src/compiler.ts:62
Whether to cache resolved ASTs. Defaults to true.
customConventions?¶
optionalcustomConventions?:Record\<string,OutputConvention>
Defined in: browser-compiler/src/compiler.ts:56
Custom convention definitions
envVars?¶
optionalenvVars?:Record\<string,string>
Defined in: browser-compiler/src/compiler.ts:68
Simulated environment variables for interpolation. When provided, ${VAR} and ${VAR:-default} syntax in source files will be replaced with values from this map.
formatters?¶
optionalformatters?: (string|Formatter| {config?:TargetConfig;name:string; })[]
Defined in: browser-compiler/src/compiler.ts:54
Formatters to use (names, instances, or configs)
fs¶
Defined in: browser-compiler/src/compiler.ts:50
Virtual file system containing all files
logger?¶
optionallogger?:Logger
Defined in: browser-compiler/src/compiler.ts:60
Logger for verbose/debug output
prettier?¶
optionalprettier?:PrettierMarkdownOptions
Defined in: browser-compiler/src/compiler.ts:58
Prettier formatting options for markdown output
validator?¶
optionalvalidator?:ValidatorConfig
Defined in: browser-compiler/src/compiler.ts:52
Validator configuration