mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-07 01:59:23 +00:00
30 lines
609 B
JavaScript
30 lines
609 B
JavaScript
const mode = process.env.NODE_ENV?.trim() || 'development'
|
|
|
|
const config = {
|
|
appId: 'watch.miru',
|
|
appName: 'Miru',
|
|
webDir: 'build',
|
|
android: {
|
|
buildOptions: {
|
|
keystorePath: './watch.miru',
|
|
keystorePassword: '',
|
|
keystoreAlias: 'watch.miru'
|
|
}
|
|
},
|
|
plugins: {
|
|
SplashScreen: { launchShowDuration: 0 },
|
|
CapacitorHttp: { enabled: false },
|
|
CapacitorNodeJS: { nodeDir: 'nodejs' }
|
|
},
|
|
server: {
|
|
cleartext: true
|
|
}
|
|
}
|
|
|
|
if (mode === 'development') {
|
|
config.server = {
|
|
url: 'http://localhost:5001/index.html',
|
|
cleartext: true
|
|
}
|
|
}
|
|
module.exports = config
|