webpack.modules.js 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. /**
  2. * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. const path = require('path')
  6. module.exports = {
  7. comments: {
  8. 'comments-app': path.join(__dirname, 'apps/comments/src', 'comments-app.js'),
  9. 'comments-tab': path.join(__dirname, 'apps/comments/src', 'comments-tab.js'),
  10. init: path.join(__dirname, 'apps/comments/src', 'init.ts'),
  11. },
  12. core: {
  13. 'ajax-cron': path.join(__dirname, 'core/src', 'ajax-cron.ts'),
  14. files_client: path.join(__dirname, 'core/src', 'files/client.js'),
  15. files_fileinfo: path.join(__dirname, 'core/src', 'files/fileinfo.js'),
  16. install: path.join(__dirname, 'core/src', 'install.js'),
  17. login: path.join(__dirname, 'core/src', 'login.js'),
  18. main: path.join(__dirname, 'core/src', 'main.js'),
  19. maintenance: path.join(__dirname, 'core/src', 'maintenance.js'),
  20. 'public-page-menu': path.resolve(__dirname, 'core/src', 'public-page-menu.ts'),
  21. recommendedapps: path.join(__dirname, 'core/src', 'recommendedapps.js'),
  22. systemtags: path.resolve(__dirname, 'core/src', 'systemtags/merged-systemtags.js'),
  23. 'unified-search': path.join(__dirname, 'core/src', 'unified-search.ts'),
  24. 'legacy-unified-search': path.join(__dirname, 'core/src', 'legacy-unified-search.js'),
  25. 'unsupported-browser': path.join(__dirname, 'core/src', 'unsupported-browser.js'),
  26. 'unsupported-browser-redirect': path.join(__dirname, 'core/src', 'unsupported-browser-redirect.js'),
  27. public: path.join(__dirname, 'core/src', 'public.ts'),
  28. },
  29. dashboard: {
  30. main: path.join(__dirname, 'apps/dashboard/src', 'main.js'),
  31. },
  32. dav: {
  33. 'settings-admin-caldav': path.join(__dirname, 'apps/dav/src', 'settings.js'),
  34. 'settings-personal-availability': path.join(__dirname, 'apps/dav/src', 'settings-personal-availability.js'),
  35. },
  36. files: {
  37. sidebar: path.join(__dirname, 'apps/files/src', 'sidebar.js'),
  38. main: path.join(__dirname, 'apps/files/src', 'main.ts'),
  39. init: path.join(__dirname, 'apps/files/src', 'init.ts'),
  40. search: path.join(__dirname, 'apps/files/src/plugins/search', 'folderSearch.ts'),
  41. 'settings-personal': path.join(__dirname, 'apps/files/src', 'main-personal-settings.js'),
  42. 'reference-files': path.join(__dirname, 'apps/files/src', 'reference-files.ts'),
  43. },
  44. files_external: {
  45. init: path.join(__dirname, 'apps/files_external/src', 'init.ts'),
  46. settings: path.join(__dirname, 'apps/files_external/src', 'settings.js'),
  47. },
  48. files_reminders: {
  49. init: path.join(__dirname, 'apps/files_reminders/src', 'init.ts'),
  50. },
  51. files_sharing: {
  52. additionalScripts: path.join(__dirname, 'apps/files_sharing/src', 'additionalScripts.js'),
  53. collaboration: path.join(__dirname, 'apps/files_sharing/src', 'collaborationresourceshandler.js'),
  54. files_sharing_tab: path.join(__dirname, 'apps/files_sharing/src', 'files_sharing_tab.js'),
  55. init: path.join(__dirname, 'apps/files_sharing/src', 'init.ts'),
  56. 'init-public': path.join(__dirname, 'apps/files_sharing/src', 'init-public.ts'),
  57. main: path.join(__dirname, 'apps/files_sharing/src', 'main.ts'),
  58. 'personal-settings': path.join(__dirname, 'apps/files_sharing/src', 'personal-settings.js'),
  59. 'public-file-request': path.join(__dirname, 'apps/files_sharing/src', 'public-file-request.ts'),
  60. },
  61. files_trashbin: {
  62. init: path.join(__dirname, 'apps/files_trashbin/src', 'files-init.ts'),
  63. },
  64. files_versions: {
  65. files_versions: path.join(__dirname, 'apps/files_versions/src', 'files_versions_tab.js'),
  66. },
  67. oauth2: {
  68. oauth2: path.join(__dirname, 'apps/oauth2/src', 'main.js'),
  69. },
  70. federatedfilesharing: {
  71. external: path.join(__dirname, 'apps/federatedfilesharing/src', 'external.js'),
  72. 'vue-settings-admin': path.join(__dirname, 'apps/federatedfilesharing/src', 'main-admin.js'),
  73. 'vue-settings-personal': path.join(__dirname, 'apps/federatedfilesharing/src', 'main-personal.js'),
  74. },
  75. profile: {
  76. main: path.join(__dirname, 'apps/profile/src', 'main.ts'),
  77. },
  78. settings: {
  79. apps: path.join(__dirname, 'apps/settings/src', 'apps.js'),
  80. 'legacy-admin': path.join(__dirname, 'apps/settings/src', 'admin.js'),
  81. 'vue-settings-admin-basic-settings': path.join(__dirname, 'apps/settings/src', 'main-admin-basic-settings.js'),
  82. 'vue-settings-admin-ai': path.join(__dirname, 'apps/settings/src', 'main-admin-ai.js'),
  83. 'vue-settings-admin-delegation': path.join(__dirname, 'apps/settings/src', 'main-admin-delegation.js'),
  84. 'vue-settings-admin-security': path.join(__dirname, 'apps/settings/src', 'main-admin-security.js'),
  85. 'vue-settings-admin-sharing': path.join(__dirname, 'apps/settings/src', 'admin-settings-sharing.ts'),
  86. 'vue-settings-apps-users-management': path.join(__dirname, 'apps/settings/src', 'main-apps-users-management.ts'),
  87. 'vue-settings-nextcloud-pdf': path.join(__dirname, 'apps/settings/src', 'main-nextcloud-pdf.js'),
  88. 'vue-settings-personal-info': path.join(__dirname, 'apps/settings/src', 'main-personal-info.js'),
  89. 'vue-settings-personal-password': path.join(__dirname, 'apps/settings/src', 'main-personal-password.js'),
  90. 'vue-settings-personal-security': path.join(__dirname, 'apps/settings/src', 'main-personal-security.js'),
  91. 'vue-settings-personal-webauthn': path.join(__dirname, 'apps/settings/src', 'main-personal-webauth.js'),
  92. 'declarative-settings-forms': path.join(__dirname, 'apps/settings/src', 'main-declarative-settings-forms.ts'),
  93. },
  94. sharebymail: {
  95. 'vue-settings-admin-sharebymail': path.join(__dirname, 'apps/sharebymail/src', 'main-admin.js'),
  96. },
  97. systemtags: {
  98. init: path.join(__dirname, 'apps/systemtags/src', 'init.ts'),
  99. admin: path.join(__dirname, 'apps/systemtags/src', 'admin.ts'),
  100. },
  101. theming: {
  102. 'personal-theming': path.join(__dirname, 'apps/theming/src', 'personal-settings.js'),
  103. 'admin-theming': path.join(__dirname, 'apps/theming/src', 'admin-settings.js'),
  104. },
  105. twofactor_backupcodes: {
  106. settings: path.join(__dirname, 'apps/twofactor_backupcodes/src', 'settings.js'),
  107. },
  108. updatenotification: {
  109. init: path.join(__dirname, 'apps/updatenotification/src', 'init.ts'),
  110. 'view-changelog-page': path.join(__dirname, 'apps/updatenotification/src', 'view-changelog-page.ts'),
  111. updatenotification: path.join(__dirname, 'apps/updatenotification/src', 'updatenotification.js'),
  112. 'update-notification-legacy': path.join(__dirname, 'apps/updatenotification/src', 'update-notification-legacy.ts'),
  113. },
  114. user_status: {
  115. menu: path.join(__dirname, 'apps/user_status/src', 'menu.js'),
  116. },
  117. weather_status: {
  118. 'weather-status': path.join(__dirname, 'apps/weather_status/src', 'weather-status.js'),
  119. },
  120. workflowengine: {
  121. workflowengine: path.join(__dirname, 'apps/workflowengine/src', 'workflowengine.js'),
  122. },
  123. }