Interface: BrowserCompilerOptions¶
Defined in: browser-compiler/src/compiler.ts:44
Options for the browser compiler.
Properties¶
cache?¶
optionalcache:boolean
Defined in: browser-compiler/src/compiler.ts:58
Whether to cache resolved ASTs. Defaults to true.
customConventions?¶
optionalcustomConventions:Record\<string,OutputConvention>
Defined in: browser-compiler/src/compiler.ts:52
Custom convention definitions
envVars?¶
optionalenvVars:Record\<string,string>
Defined in: browser-compiler/src/compiler.ts:64
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:50
Formatters to use (names, instances, or configs)
fs¶
Defined in: browser-compiler/src/compiler.ts:46
Virtual file system containing all files
logger?¶
optionallogger:Logger
Defined in: browser-compiler/src/compiler.ts:56
Logger for verbose/debug output
prettier?¶
optionalprettier:PrettierMarkdownOptions
Defined in: browser-compiler/src/compiler.ts:54
Prettier formatting options for markdown output
validator?¶
optionalvalidator:ValidatorConfig
Defined in: browser-compiler/src/compiler.ts:48
Validator configuration