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 <assistant@shakespeare.diy>
This commit is contained in:
parent
646c4f7761
commit
543b7d32c0
1 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue