Skip to content

CompilerConfig

CompilerConfig: object

Configuration of the solidity compiler When resolved with defaults it is a ResolvedCompilerConfig

Type declaration

cacheDir?

optional cacheDir: string

Location of the tevm cache folder

debug?

optional debug: boolean

If debug is true tevm will write the .d.ts files in the ts server and publish extra debug info to a debug file

foundryProject?

optional foundryProject: boolean | string

If set to true it will resolve forge remappings and libs Set to “path/to/forge/executable” to use a custom forge executable

libs?

optional libs: readonly string[]

Sets directories to search for solidity imports in Read autoamtically for forge projects if forge: true

remappings?

optional remappings: ReadonlyRecord<string>

Remap the location of contracts

Source

bundler-packages/config/src/types.ts:11