chore: format

This commit is contained in:
alex8088 2024-03-01 22:33:56 +08:00
parent 52fce25787
commit 27ade03acf

View file

@ -393,7 +393,9 @@ export function electronRendererVitePlugin(options?: ElectronPluginOptions): Plu
} else {
const targets = Array.isArray(build.target) ? build.target : [build.target]
if (targets.some(t => !t.startsWith('chrome') && !/^es((202\d{1})|next)$/.test(t))) {
config.logger.warn('The electron vite renderer config build.target is not "chrome?" or "es?". This could be a mistake.')
config.logger.warn(
'The electron vite renderer config build.target is not "chrome?" or "es?". This could be a mistake.'
)
}
}