From 543b7d32c05d25a4cc53a598a5fd1a10dc29ab38 Mon Sep 17 00:00:00 2001 From: "shakespeare.diy" Date: Thu, 9 Jul 2026 12:14:09 +0700 Subject: [PATCH] Remove external: nostr-signer-capacitor-plugin from vite config Plugin is now properly installed and registered via cap sync. It must be bundled by Rollup, not treated as external. Co-authored-by: shakespeare.diy --- vite.config.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 6b7e919..f206af7 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -38,9 +38,6 @@ export default defineConfig(() => ({ transformMixedEsModules: true, }, rollupOptions: { - // nostr-signer-capacitor-plugin is a native Capacitor plugin — it is - // resolved at runtime by the Capacitor bridge, not bundled by Rollup. - external: ['nostr-signer-capacitor-plugin'], output: process.env.CAPACITOR_BUILD ? { // Single bundle for Capacitor APK — avoids 100+ chunk file requests // that fail silently in Android WebView local file serving