fix: exclude nostr-signer-capacitor-plugin from Capacitor APK build
Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
This commit is contained in:
parent
29b31d4b43
commit
3b29089df2
1 changed files with 2 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ export default defineConfig(() => ({
|
|||
optimizeDeps: {
|
||||
exclude: ['@lightninglabs/lnc-web'],
|
||||
},
|
||||
|
||||
build: {
|
||||
// Strip console.log/warn/debug in production (keeps console.error for real errors)
|
||||
minify: 'esbuild',
|
||||
|
|
@ -43,6 +44,7 @@ export default defineConfig(() => ({
|
|||
// that fail silently in Android WebView local file serving
|
||||
manualChunks: undefined,
|
||||
inlineDynamicImports: true,
|
||||
external: ['nostr-signer-capacitor-plugin'],
|
||||
} : {
|
||||
// Split large vendor libraries into separate cacheable chunks.
|
||||
// Users only re-download a chunk when that specific library updates.
|
||||
|
|
|
|||
Loading…
Reference in a new issue