Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return async host => {
const clientProject = await getProject(host, options.clientProject);
const browserDistDirectory = await getOutputPath(host, options.clientProject, 'build');
return mergeWith(
apply(url('./files'), [
template({
...strings,
...options,
stripTsExtension,
browserDistDirectory,
}),
move(clientProject.root)
])
);
};
}
return async host => {
const clientProject = await getProject(host, options.clientProject);
const browserDistDirectory = await getOutputPath(host, options.clientProject, 'build');
return mergeWith(
apply(url('./files'), [
template({
...strings,
...options,
stripTsExtension,
browserDistDirectory,
}),
move(clientProject.root)
])
);
};
}