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: {
|
optimizeDeps: {
|
||||||
exclude: ['@lightninglabs/lnc-web'],
|
exclude: ['@lightninglabs/lnc-web'],
|
||||||
},
|
},
|
||||||
|
|
||||||
build: {
|
build: {
|
||||||
// Strip console.log/warn/debug in production (keeps console.error for real errors)
|
// Strip console.log/warn/debug in production (keeps console.error for real errors)
|
||||||
minify: 'esbuild',
|
minify: 'esbuild',
|
||||||
|
|
@ -43,6 +44,7 @@ export default defineConfig(() => ({
|
||||||
// that fail silently in Android WebView local file serving
|
// that fail silently in Android WebView local file serving
|
||||||
manualChunks: undefined,
|
manualChunks: undefined,
|
||||||
inlineDynamicImports: true,
|
inlineDynamicImports: true,
|
||||||
|
external: ['nostr-signer-capacitor-plugin'],
|
||||||
} : {
|
} : {
|
||||||
// Split large vendor libraries into separate cacheable chunks.
|
// Split large vendor libraries into separate cacheable chunks.
|
||||||
// Users only re-download a chunk when that specific library updates.
|
// Users only re-download a chunk when that specific library updates.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue