mirror of
https://github.com/alex8088/electron-vite.git
synced 2025-10-13 02:12:13 +08:00
fix: fix a comment in src/server.ts
This commit is contained in:
parent
f9cfcf9408
commit
dba98e53f0
@ -31,7 +31,7 @@ export function createElectron(root?: string, logger?: Logger): ChildProcessWith
|
|||||||
|
|
||||||
export function build(config: UserConfig, closeBundle?: PluginHooks['closeBundle']): ReturnType<typeof viteBuild> {
|
export function build(config: UserConfig, closeBundle?: PluginHooks['closeBundle']): ReturnType<typeof viteBuild> {
|
||||||
const watchConfig: UserConfig = {
|
const watchConfig: UserConfig = {
|
||||||
// Enable watch through `electron.vite.config.{ js | ts | mjs }`
|
// Enable watch through `electron.vite.config.{js|ts|mjs|cjs}`
|
||||||
// build: { watch: {} },
|
// build: { watch: {} },
|
||||||
plugins: [
|
plugins: [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user