diff --git a/cli/plasmo/src/features/manifest-factory/base.ts b/cli/plasmo/src/features/manifest-factory/base.ts index 3729e6c55..7c1bca57e 100644 --- a/cli/plasmo/src/features/manifest-factory/base.ts +++ b/cli/plasmo/src/features/manifest-factory/base.ts @@ -535,7 +535,7 @@ export abstract class PlasmoManifest { content_scripts: overrideContentScripts, background: overrideBackground, ...overide - } = this.overideManifest as T + } = (this.overideManifest || {}) as T if (base.options_ui?.page) { base.options_ui = {