webpack.modules.js 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /**
  2. * @copyright Copyright (c) 2021 John Molakvoæ <skjnldsv@protonmail.com>
  3. *
  4. * @author John Molakvoæ <skjnldsv@protonmail.com>
  5. *
  6. * @license AGPL-3.0-or-later
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU Affero General Public License as
  10. * published by the Free Software Foundation, either version 3 of the
  11. * License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU Affero General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Affero General Public License
  19. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. const path = require('path')
  23. module.exports = {
  24. accessibility: {
  25. accessibility: path.join(__dirname, 'apps/accessibility/src', 'main.js'),
  26. accessibilityoca: path.join(__dirname, 'apps/accessibility/src', 'accessibilityoca.js'),
  27. },
  28. comments: {
  29. comments: path.join(__dirname, 'apps/comments/src', 'comments.js'),
  30. 'comments-app': path.join(__dirname, 'apps/comments/src', 'comments-app.js'),
  31. 'comments-tab': path.join(__dirname, 'apps/comments/src', 'comments-tab.js'),
  32. },
  33. core: {
  34. files_client: path.join(__dirname, 'core/src', 'files/client.js'),
  35. files_fileinfo: path.join(__dirname, 'core/src', 'files/fileinfo.js'),
  36. install: path.join(__dirname, 'core/src', 'install.js'),
  37. login: path.join(__dirname, 'core/src', 'login.js'),
  38. main: path.join(__dirname, 'core/src', 'main.js'),
  39. maintenance: path.join(__dirname, 'core/src', 'maintenance.js'),
  40. profile: path.join(__dirname, 'core/src', 'profile.js'),
  41. recommendedapps: path.join(__dirname, 'core/src', 'recommendedapps.js'),
  42. systemtags: path.resolve(__dirname, 'core/src', 'systemtags/merged-systemtags.js'),
  43. 'unified-search': path.join(__dirname, 'core/src', 'unified-search.js'),
  44. },
  45. dashboard: {
  46. main: path.join(__dirname, 'apps/dashboard/src', 'main.js'),
  47. },
  48. dav: {
  49. 'settings-admin-caldav': path.join(__dirname, 'apps/dav/src', 'settings.js'),
  50. 'settings-personal-availability': path.join(__dirname, 'apps/dav/src', 'settings-personal-availability.js'),
  51. },
  52. files: {
  53. sidebar: path.join(__dirname, 'apps/files/src', 'sidebar.js'),
  54. main: path.join(__dirname, 'apps/files/src', 'main.js'),
  55. 'personal-settings': path.join(__dirname, 'apps/files/src', 'main-personal-settings.js'),
  56. },
  57. files_sharing: {
  58. additionalScripts: path.join(__dirname, 'apps/files_sharing/src', 'additionalScripts.js'),
  59. collaboration: path.join(__dirname, 'apps/files_sharing/src', 'collaborationresourceshandler.js'),
  60. files_sharing_tab: path.join(__dirname, 'apps/files_sharing/src', 'files_sharing_tab.js'),
  61. files_sharing: path.join(__dirname, 'apps/files_sharing/src', 'files_sharing.js'),
  62. main: path.join(__dirname, 'apps/files_sharing/src', 'index.js'),
  63. 'personal-settings': path.join(__dirname, 'apps/files_sharing/src', 'personal-settings.js'),
  64. },
  65. files_trashbin: {
  66. files_trashbin: path.join(__dirname, 'apps/files_trashbin/src', 'files_trashbin.js'),
  67. },
  68. files_versions: {
  69. files_versions: path.join(__dirname, 'apps/files_versions/src', 'files_versions.js'),
  70. },
  71. oauth2: {
  72. oauth2: path.join(__dirname, 'apps/oauth2/src', 'main.js'),
  73. },
  74. settings: {
  75. 'vue-settings-admin-basic-settings': path.join(__dirname, 'apps/settings/src', 'main-admin-basic-settings.js'),
  76. 'vue-settings-admin-delegation': path.join(__dirname, 'apps/settings/src', 'main-admin-delegation.js'),
  77. 'vue-settings-admin-security': path.join(__dirname, 'apps/settings/src', 'main-admin-security.js'),
  78. 'vue-settings-apps-users-management': path.join(__dirname, 'apps/settings/src', 'main-apps-users-management.js'),
  79. 'vue-settings-nextcloud-pdf': path.join(__dirname, 'apps/settings/src', 'main-nextcloud-pdf.js'),
  80. 'vue-settings-personal-info': path.join(__dirname, 'apps/settings/src', 'main-personal-info.js'),
  81. 'vue-settings-personal-security': path.join(__dirname, 'apps/settings/src', 'main-personal-security.js'),
  82. 'vue-settings-personal-webauthn': path.join(__dirname, 'apps/settings/src', 'main-personal-webauth.js'),
  83. 'legacy-admin': path.join(__dirname, 'apps/settings/src', 'admin.js'),
  84. 'apps': path.join(__dirname, 'apps/settings/src', 'apps.js'),
  85. },
  86. systemtags: {
  87. systemtags: path.join(__dirname, 'apps/systemtags/src', 'systemtags.js'),
  88. },
  89. twofactor_backupcodes: {
  90. settings: path.join(__dirname, 'apps/twofactor_backupcodes/src', 'settings.js'),
  91. },
  92. updatenotification: {
  93. updatenotification: path.join(__dirname, 'apps/updatenotification/src', 'init.js'),
  94. },
  95. user_status: {
  96. dashboard: path.join(__dirname, 'apps/user_status/src', 'dashboard.js'),
  97. menu: path.join(__dirname, 'apps/user_status/src', 'menu.js'),
  98. },
  99. weather_status: {
  100. 'weather-status': path.join(__dirname, 'apps/weather_status/src', 'weather-status.js'),
  101. },
  102. workflowengine: {
  103. workflowengine: path.join(__dirname, 'apps/workflowengine/src', 'workflowengine.js'),
  104. },
  105. }