mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 22:01:42 +08:00
style: run prettier on webpack5 files
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user