fix: webpack release failed to require path

This commit is contained in:
Tienson Qin
2025-07-23 15:25:50 +08:00
parent 4b935df5d3
commit 9335281d4a
2 changed files with 3 additions and 2 deletions

View File

@@ -83,3 +83,4 @@ getLine
setOption
string
dispose
path

View File

@@ -1,4 +1,4 @@
import path from 'path/path.js'
import path from 'path'
// TODO split the capacitor abilities to a separate file for capacitor APIs
import { Capacitor } from '@capacitor/core'
@@ -481,4 +481,4 @@ export function base64ToUint8Array (base64String) {
console.error('Invalid Base64 string:', e)
return null
}
}
}