diff --git a/src/plugins/bytecode.ts b/src/plugins/bytecode.ts index 502959e..21c680b 100644 --- a/src/plugins/bytecode.ts +++ b/src/plugins/bytecode.ts @@ -150,7 +150,9 @@ export interface BytecodeOptions { } /** - * Compile to v8 bytecode to protect source code. + * Compile source code to v8 bytecode. + * + * @deprecated use `build.bytecode` config option instead */ export function bytecodePlugin(options: BytecodeOptions = {}): Plugin | null { if (process.env.NODE_ENV_ELECTRON_VITE !== 'production') { diff --git a/src/plugins/externalizeDeps.ts b/src/plugins/externalizeDeps.ts index e2b089b..076f244 100644 --- a/src/plugins/externalizeDeps.ts +++ b/src/plugins/externalizeDeps.ts @@ -7,7 +7,9 @@ export interface ExternalOptions { } /** - * Automatically externalize dependencies + * Automatically externalize dependencies. + * + * @deprecated use `build.externalizeDeps` config option instead */ export function externalizeDepsPlugin(options: ExternalOptions = {}): Plugin | null { const { exclude = [], include = [] } = options