chore: format
This commit is contained in:
parent
52fce25787
commit
27ade03acf
|
@ -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.'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue