mirror of
https://github.com/alex8088/electron-vite.git
synced 2025-08-11 05:46:25 +08:00
chore: remove redundant logs
This commit is contained in:
parent
f9a82f6076
commit
1fbf66dd2b
@ -187,12 +187,6 @@ export async function resolveConfig(
|
|||||||
throw new Error(
|
throw new Error(
|
||||||
"The electron vite preload config `build.emptyOutDir` should be set to `false` when multiple preload scripts are used to prevent overwriting each other's output files."
|
"The electron vite preload config `build.emptyOutDir` should be set to `false` when multiple preload scripts are used to prevent overwriting each other's output files."
|
||||||
)
|
)
|
||||||
} else if (preloadViteConfig.build.emptyOutDir === undefined) {
|
|
||||||
createLogger(config.logLevel).info(
|
|
||||||
colors.gray(
|
|
||||||
"The electron vite preload config `build.emptyOutDir` will be set to `false` when multiple preload scripts are used to prevent overwriting each other's output files."
|
|
||||||
)
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
preloadViteConfig.build.emptyOutDir = false
|
preloadViteConfig.build.emptyOutDir = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user