Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function buildElectronKarma(options: any, context: BuilderContext): Observable {
return executeKarmaBuilder(options, context, {
webpackConfiguration: (config) => {
return { ...config, target: 'electron-renderer' };
}
});
}
export function buildCustomWebpackKarma(
options: CustomWebpackKarmaBuildSchema,
context: BuilderContext
): Observable {
return executeKarmaBuilder(options, context, {
webpackConfiguration: customWebpackConfigTransformFactory(options, context),
});
}