chore: reduce bundle size for Tauri target (#1053)

* feat(tauri): improve app size

* reorder modules so tauri can disable pwa

* don't strip the logo
This commit is contained in:
Jonas Kruckenberg 2023-01-13 09:46:07 +01:00 committed by GitHub
parent 23532062f5
commit 39f9e7b6ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View file

@ -28,8 +28,8 @@ export default defineNuxtConfig({
'~/modules/purge-comments',
'~/modules/setup-components',
'~/modules/build-env',
'~/modules/pwa/index', // change to '@vite-pwa/nuxt' once released and remove pwa module
'~/modules/tauri/index',
'~/modules/pwa/index', // change to '@vite-pwa/nuxt' once released and remove pwa module
],
experimental: {
payloadExtraction: false,