1
0

webpack.modules.js 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. comments: {
  25. comments: path.join(__dirname, 'apps/comments/src', 'comments.js'),
  26. 'comments-app': path.join(__dirname, 'apps/comments/src', 'comments-app.js'),
  27. 'comments-tab': path.join(__dirname, 'apps/comments/src', 'comments-tab.js'),
  28. },
  29. core: {
  30. files_client: path.join(__dirname, 'core/src', 'files/client.js'),
  31. files_fileinfo: path.join(__dirname, 'core/src', 'files/fileinfo.js'),
  32. install: path.join(__dirname, 'core/src', 'install.js'),
  33. login: path.join(__dirname, 'core/src', 'login.js'),
  34. main: path.join(__dirname, 'core/src', 'main.js'),
  35. maintenance: path.join(__dirname, 'core/src', 'maintenance.js'),
  36. profile: path.join(__dirname, 'core/src', 'profile.js'),
  37. recommendedapps: path.join(__dirname, 'core/src', 'recommendedapps.js'),
  38. systemtags: path.resolve(__dirname, 'core/src', 'systemtags/merged-systemtags.js'),
  39. 'unified-search': path.join(__dirname, 'core/src', 'unified-search.js'),
  40. 'unsupported-browser': path.join(__dirname, 'core/src', 'unsupported-browser.js'),
  41. 'unsupported-browser-redirect': path.join(__dirname, 'core/src', 'unsupported-browser-redirect.js'),
  42. },
  43. dashboard: {
  44. main: path.join(__dirname, 'apps/dashboard/src', 'main.js'),
  45. },
  46. dav: {
  47. 'settings-admin-caldav': path.join(__dirname, 'apps/dav/src', 'settings.js'),
  48. 'settings-personal-availability': path.join(__dirname, 'apps/dav/src', 'settings-personal-availability.js'),
  49. },
  50. files: {
  51. sidebar: path.join(__dirname, 'apps/files/src', 'sidebar.js'),
  52. main: path.join(__dirname, 'apps/files/src', 'main.js'),
  53. 'personal-settings': path.join(__dirname, 'apps/files/src', 'main-personal-settings.js'),
  54. 'reference-files': path.join(__dirname, 'apps/files/src', 'reference-files.js'),
  55. },
  56. files_sharing: {
  57. additionalScripts: path.join(__dirname, 'apps/files_sharing/src', 'additionalScripts.js'),
  58. collaboration: path.join(__dirname, 'apps/files_sharing/src', 'collaborationresourceshandler.js'),
  59. files_sharing_tab: path.join(__dirname, 'apps/files_sharing/src', 'files_sharing_tab.js'),
  60. files_sharing: path.join(__dirname, 'apps/files_sharing/src', 'files_sharing.js'),
  61. main: path.join(__dirname, 'apps/files_sharing/src', 'index.js'),
  62. 'personal-settings': path.join(__dirname, 'apps/files_sharing/src', 'personal-settings.js'),
  63. },
  64. files_trashbin: {
  65. files_trashbin: path.join(__dirname, 'apps/files_trashbin/src', 'files_trashbin.js'),
  66. },
  67. files_versions: {
  68. files_versions: path.join(__dirname, 'apps/files_versions/src', 'files_versions_tab.js'),
  69. },
  70. oauth2: {
  71. oauth2: path.join(__dirname, 'apps/oauth2/src', 'main.js'),
  72. },
  73. federatedfilesharing: {
  74. 'vue-settings-admin': path.join(__dirname, 'apps/federatedfilesharing/src', 'main-admin.js'),
  75. 'vue-settings-personal': path.join(__dirname, 'apps/federatedfilesharing/src', 'main-personal.js'),
  76. },
  77. settings: {
  78. apps: path.join(__dirname, 'apps/settings/src', 'apps.js'),
  79. 'legacy-admin': path.join(__dirname, 'apps/settings/src', 'admin.js'),
  80. 'vue-settings-admin-basic-settings': path.join(__dirname, 'apps/settings/src', 'main-admin-basic-settings.js'),
  81. 'vue-settings-admin-delegation': path.join(__dirname, 'apps/settings/src', 'main-admin-delegation.js'),
  82. 'vue-settings-admin-security': path.join(__dirname, 'apps/settings/src', 'main-admin-security.js'),
  83. 'vue-settings-apps-users-management': path.join(__dirname, 'apps/settings/src', 'main-apps-users-management.js'),
  84. 'vue-settings-nextcloud-pdf': path.join(__dirname, 'apps/settings/src', 'main-nextcloud-pdf.js'),
  85. 'vue-settings-personal-info': path.join(__dirname, 'apps/settings/src', 'main-personal-info.js'),
  86. 'vue-settings-personal-password': path.join(__dirname, 'apps/settings/src', 'main-personal-password.js'),
  87. 'vue-settings-personal-security': path.join(__dirname, 'apps/settings/src', 'main-personal-security.js'),
  88. 'vue-settings-personal-webauthn': path.join(__dirname, 'apps/settings/src', 'main-personal-webauth.js'),
  89. },
  90. sharebymail: {
  91. 'vue-settings-admin-sharebymail': path.join(__dirname, 'apps/sharebymail/src', 'main-admin.js'),
  92. },
  93. systemtags: {
  94. systemtags: path.join(__dirname, 'apps/systemtags/src', 'systemtags.js'),
  95. },
  96. theming: {
  97. 'personal-theming': path.join(__dirname, 'apps/theming/src', 'personal-settings.js'),
  98. 'admin-theming': path.join(__dirname, 'apps/theming/src', 'admin-settings.js'),
  99. },
  100. twofactor_backupcodes: {
  101. settings: path.join(__dirname, 'apps/twofactor_backupcodes/src', 'settings.js'),
  102. },
  103. updatenotification: {
  104. updatenotification: path.join(__dirname, 'apps/updatenotification/src', 'init.js'),
  105. },
  106. user_status: {
  107. dashboard: path.join(__dirname, 'apps/user_status/src', 'dashboard.js'),
  108. menu: path.join(__dirname, 'apps/user_status/src', 'menu.js'),
  109. },
  110. weather_status: {
  111. 'weather-status': path.join(__dirname, 'apps/weather_status/src', 'weather-status.js'),
  112. },
  113. workflowengine: {
  114. workflowengine: path.join(__dirname, 'apps/workflowengine/src', 'workflowengine.js'),
  115. },
  116. }