interface CompartmentOptions {
    __noNamespaceBox__?: boolean;
    __shimTransforms__?: Transform[];
    globals?: Map<string, any>;
    importHook?: ImportHook;
    importMetaHook?: ImportMetaHook;
    importNowHook?: ImportNowHook;
    moduleMapHook?: ModuleMapHook;
    modules?: Map<string, ModuleDescriptor>;
    name?: string;
    resolveHook?: ResolveHook;
    transforms?: Transform[];
}

Properties

__noNamespaceBox__?: boolean
__shimTransforms__?: Transform[]
globals?: Map<string, any>
importHook?: ImportHook
importMetaHook?: ImportMetaHook
importNowHook?: ImportNowHook
moduleMapHook?: ModuleMapHook
modules?: Map<string, ModuleDescriptor>
name?: string
resolveHook?: ResolveHook
transforms?: Transform[]