diff --git a/android/app/src/main/assets/capacitor.config.json b/android/app/src/main/assets/capacitor.config.json index c05dd987..a5ef24e4 100644 --- a/android/app/src/main/assets/capacitor.config.json +++ b/android/app/src/main/assets/capacitor.config.json @@ -2,7 +2,6 @@ "appId": "com.audiobookshelf.app", "appName": "audiobookshelf-app", "webDir": "dist", - "bundledWebRuntime": false, "plugins": { "CapacitorHttp": { "enabled": false diff --git a/capacitor.config.json b/capacitor.config.json index 8db4b60f..81df5320 100644 --- a/capacitor.config.json +++ b/capacitor.config.json @@ -2,7 +2,6 @@ "appId": "com.audiobookshelf.app", "appName": "audiobookshelf-app", "webDir": "dist", - "bundledWebRuntime": false, "plugins": { "CapacitorHttp": { "enabled": false diff --git a/ios/App/App/capacitor.config.json b/ios/App/App/capacitor.config.json index 0e3e742c..471c3268 100644 --- a/ios/App/App/capacitor.config.json +++ b/ios/App/App/capacitor.config.json @@ -2,7 +2,6 @@ "appId": "com.audiobookshelf.app", "appName": "audiobookshelf-app", "webDir": "dist", - "bundledWebRuntime": false, "plugins": { "CapacitorHttp": { "enabled": false diff --git a/nuxt.config.js b/nuxt.config.js index a9f77697..60b108a5 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -19,59 +19,36 @@ export default { htmlAttrs: { lang: 'en' }, - meta: [ - { charset: 'utf-8' }, - { name: 'viewport', content: 'viewport-fit=cover, width=device-width, initial-scale=1, user-scalable=no, maximum-scale=1' }, - { hid: 'description', name: 'description', content: '' }, - { name: 'format-detection', content: 'telephone=no' } - ], + meta: [{ charset: 'utf-8' }, { name: 'viewport', content: 'viewport-fit=cover, width=device-width, initial-scale=1, user-scalable=no, maximum-scale=1' }, { hid: 'description', name: 'description', content: '' }, { name: 'format-detection', content: 'telephone=no' }], script: [ { src: '/libs/sortable.js' } ], - link: [ - { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } - ] + link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }] }, - css: [ - '@/assets/tailwind.css', - '@/assets/app.css' - ], + css: ['@/assets/tailwind.css', '@/assets/app.css'], - plugins: [ - '@/plugins/server.js', - '@/plugins/db.js', - '@/plugins/localStore.js', - '@/plugins/init.client.js', - '@/plugins/axios.js', - '@/plugins/nativeHttp.js', - '@/plugins/capacitor/index.js', - '@/plugins/capacitor/AbsAudioPlayer.js', - '@/plugins/toast.js', - '@/plugins/constants.js', - '@/plugins/haptics.js', - '@/plugins/i18n.js' - ], + plugins: ['@/plugins/server.js', '@/plugins/db.js', '@/plugins/localStore.js', '@/plugins/init.client.js', '@/plugins/axios.js', '@/plugins/nativeHttp.js', '@/plugins/capacitor/index.js', '@/plugins/capacitor/AbsAudioPlayer.js', '@/plugins/toast.js', '@/plugins/constants.js', '@/plugins/haptics.js', '@/plugins/i18n.js'], components: true, - modules: [ - '@nuxtjs/axios' - ], + modules: ['@nuxtjs/axios'], axios: {}, build: { postcss: { - plugins: { - tailwindcss: {}, - autoprefixer: {}, - }, + postcssOptions: { + plugins: { + tailwindcss: {}, + autoprefixer: {} + } + } }, babel: { - plugins: [['@babel/plugin-proposal-private-property-in-object', { loose: true }]], - }, + plugins: [['@babel/plugin-proposal-private-property-in-object', { loose: true }]] + } } } diff --git a/package-lock.json b/package-lock.json index efeda01e..6eaf6790 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "@nuxtjs/axios": "^5.13.6", "@teckel/vue-pdf": "^4.3.5", "buffer": "^6.0.3", - "cordova-plugin-screen-orientation": "^3.0.2", + "cordova-plugin-screen-orientation": "^3.0.4", "core-js": "^3.15.1", "date-fns": "^2.25.0", "epubjs": "0.3.88", diff --git a/package.json b/package.json index 58cf6195..de53c8f0 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "nuxt --hostname 0.0.0.0 --port 1337", "build": "nuxt build", - "start": "nuxt start", + "start": "nuxt --hostname 0.0.0.0 --port 1337", "generate": "nuxt generate", "sync": "nuxt generate && npx cap sync", "icons-android": "cordova-res android --skip-config --copy", @@ -29,7 +29,7 @@ "@nuxtjs/axios": "^5.13.6", "@teckel/vue-pdf": "^4.3.5", "buffer": "^6.0.3", - "cordova-plugin-screen-orientation": "^3.0.2", + "cordova-plugin-screen-orientation": "^3.0.4", "core-js": "^3.15.1", "date-fns": "^2.25.0", "epubjs": "0.3.88",