diff --git a/package.json b/package.json index 144e92b793..77f304bb0f 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "private": true, "type": "module", "scripts": { - "build": "NODE_ENV=production NODE_OPTIONS='--max-old-space-size=4096' vite --mode=production build", - "dev": "NODE_ENV=development NODE_OPTIONS='--max-old-space-size=4096' vite --mode=development build", + "build": "NODE_ENV=production NODE_OPTIONS='--max-old-space-size=8192' vite --mode=production build", + "dev": "NODE_ENV=development NODE_OPTIONS='--max-old-space-size=8192' vite --mode=development build", "watch": "NODE_ENV=development NODE_OPTIONS='--max-old-space-size=8192' vite build --mode=development --watch", "lint": "eslint --ext .js,.vue --ignore-pattern tests src", "lint:fix": "eslint --ext .js,.vue --ignore-pattern tests src --fix", diff --git a/src/components/NavigationAccount.vue b/src/components/NavigationAccount.vue index a10ee64109..3f941f9532 100644 --- a/src/components/NavigationAccount.vue +++ b/src/components/NavigationAccount.vue @@ -98,6 +98,7 @@ import IconFolderAdd from 'vue-material-design-icons/Folder.vue' import MenuDown from 'vue-material-design-icons/ChevronDown.vue' import MenuUp from 'vue-material-design-icons/ChevronUp.vue' import IconDelete from 'vue-material-design-icons/Delete.vue' +import AccountSettings from './AccountSettings.vue' import { DialogBuilder } from '@nextcloud/dialogs' export default { name: 'NavigationAccount', @@ -108,7 +109,7 @@ export default { ActionCheckbox, ActionInput, ActionText, - AccountSettings: () => import(/* webpackChunkName: "account-settings" */ './AccountSettings.vue'), + AccountSettings, IconInfo, IconSettings, IconFolderAdd, diff --git a/src/router.js b/src/router.js index c3725b094f..dccf7d5400 100644 --- a/src/router.js +++ b/src/router.js @@ -7,8 +7,8 @@ import Vue from 'vue' import Router from 'vue-router' import { generateUrl } from '@nextcloud/router' -const Home = () => import('./views/Home.vue') -const Setup = () => import('./views/Setup.vue') +import Home from './views/Home.vue' +import Setup from './views/Setup.vue' Vue.use(Router) diff --git a/src/views/Home.vue b/src/views/Home.vue index a07fcf9de5..b625ef28c3 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -30,6 +30,7 @@ import MailboxThread from '../components/MailboxThread.vue' import Navigation from '../components/Navigation.vue' import Outbox from '../components/Outbox.vue' import ComposerSessionIndicator from '../components/ComposerSessionIndicator.vue' +import NewMessageModal from '../components/NewMessageModal.vue' import { mapGetters } from 'vuex' export default { @@ -38,7 +39,7 @@ export default { NcContent, MailboxThread, Navigation, - NewMessageModal: () => import(/* webpackChunkName: "new-message-modal" */ '../components/NewMessageModal.vue'), + NewMessageModal, Outbox, ComposerSessionIndicator, },