style: run prettier on webpack5 files

This commit is contained in:
Igor Randjelovic
2021-03-29 01:24:23 +02:00
parent c55782bfaf
commit c922e77129
13 changed files with 138 additions and 110 deletions

View File

@ -53,14 +53,12 @@ function getSvelteConfigPreprocessor(): any {
}
interface ISvelteConfig {
preprocess: any
preprocess: any;
}
function getSvelteConfig(): ISvelteConfig | undefined {
try {
return require(
getProjectFilePath('svelte.config.js')
) as ISvelteConfig;
return require(getProjectFilePath('svelte.config.js')) as ISvelteConfig;
} catch (err) {
error('Could not find svelte.config.js.', err);
}