withGlobals

Sets the globals property of the configuration using a custom initializer.

This function takes a lambda expression as a parameter and applies it to the GlobalsBuilder object of the builder. The lambda expression can modify the state of the globals object, such as adding or removing global variables or functions, setting global options, etc. The function returns the modified globals object.

Return

the modified globals object.

Parameters

initializer

a lambda expression that modifies the globals object.