webpack.modules.js 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. },
  47. files_reminders: {
  48. init: path.join(__dirname, 'apps/files_reminders/src', 'init.ts'),
  49. },
  50. files_sharing: {
  51. additionalScripts: path.join(__dirname, 'apps/files_sharing/src', 'additionalScripts.js'),
  52. collaboration: path.join(__dirname, 'apps/files_sharing/src', 'collaborationresourceshandler.js'),
  53. files_sharing_tab: path.join(__dirname, 'apps/files_sharing/src', 'files_sharing_tab.js'),
  54. init: path.join(__dirname, 'apps/files_sharing/src', 'init.ts'),
  55. 'init-public': path.join(__dirname, 'apps/files_sharing/src', 'init-public.ts'),
  56. main: path.join(__dirname, 'apps/files_sharing/src', 'main.ts'),
  57. 'personal-settings': path.join(__dirname, 'apps/files_sharing/src', 'personal-settings.js'),
  58. 'public-file-request': path.join(__dirname, 'apps/files_sharing/src', 'public-file-request.ts'),
  59. },
  60. files_trashbin: {
  61. init: path.join(__dirname, 'apps/files_trashbin/src', 'files-init.ts'),
  62. },
  63. files_versions: {
  64. files_versions: path.join(__dirname, 'apps/files_versions/src', 'files_versions_tab.js'),
  65. },
  66. oauth2: {
  67. oauth2: path.join(__dirname, 'apps/oauth2/src', 'main.js'),
  68. },
  69. federatedfilesharing: {
  70. external: path.join(__dirname, 'apps/federatedfilesharing/src', 'external.js'),
  71. 'vue-settings-admin': path.join(__dirname, 'apps/federatedfilesharing/src', 'main-admin.js'),
  72. 'vue-settings-personal': path.join(__dirname, 'apps/federatedfilesharing/src', 'main-personal.js'),
  73. },
  74. profile: {
  75. main: path.join(__dirname, 'apps/profile/src', 'main.ts'),
  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-ai': path.join(__dirname, 'apps/settings/src', 'main-admin-ai.js'),
  82. 'vue-settings-admin-delegation': path.join(__dirname, 'apps/settings/src', 'main-admin-delegation.js'),
  83. 'vue-settings-admin-security': path.join(__dirname, 'apps/settings/src', 'main-admin-security.js'),
  84. 'vue-settings-admin-sharing': path.join(__dirname, 'apps/settings/src', 'admin-settings-sharing.ts'),
  85. 'vue-settings-apps-users-management': path.join(__dirname, 'apps/settings/src', 'main-apps-users-management.ts'),
  86. 'vue-settings-nextcloud-pdf': path.join(__dirname, 'apps/settings/src', 'main-nextcloud-pdf.js'),
  87. 'vue-settings-personal-info': path.join(__dirname, 'apps/settings/src', 'main-personal-info.js'),
  88. 'vue-settings-personal-password': path.join(__dirname, 'apps/settings/src', 'main-personal-password.js'),
  89. 'vue-settings-personal-security': path.join(__dirname, 'apps/settings/src', 'main-personal-security.js'),
  90. 'vue-settings-personal-webauthn': path.join(__dirname, 'apps/settings/src', 'main-personal-webauth.js'),
  91. 'declarative-settings-forms': path.join(__dirname, 'apps/settings/src', 'main-declarative-settings-forms.ts'),
  92. },
  93. sharebymail: {
  94. 'vue-settings-admin-sharebymail': path.join(__dirname, 'apps/sharebymail/src', 'main-admin.js'),
  95. },
  96. systemtags: {
  97. init: path.join(__dirname, 'apps/systemtags/src', 'init.ts'),
  98. admin: path.join(__dirname, 'apps/systemtags/src', 'admin.ts'),
  99. },
  100. theming: {
  101. 'personal-theming': path.join(__dirname, 'apps/theming/src', 'personal-settings.js'),
  102. 'admin-theming': path.join(__dirname, 'apps/theming/src', 'admin-settings.js'),
  103. },
  104. twofactor_backupcodes: {
  105. settings: path.join(__dirname, 'apps/twofactor_backupcodes/src', 'settings.js'),
  106. },
  107. updatenotification: {
  108. init: path.join(__dirname, 'apps/updatenotification/src', 'init.ts'),
  109. 'view-changelog-page': path.join(__dirname, 'apps/updatenotification/src', 'view-changelog-page.ts'),
  110. updatenotification: path.join(__dirname, 'apps/updatenotification/src', 'updatenotification.js'),
  111. 'update-notification-legacy': path.join(__dirname, 'apps/updatenotification/src', 'update-notification-legacy.ts'),
  112. },
  113. user_status: {
  114. menu: path.join(__dirname, 'apps/user_status/src', 'menu.js'),
  115. },
  116. weather_status: {
  117. 'weather-status': path.join(__dirname, 'apps/weather_status/src', 'weather-status.js'),
  118. },
  119. workflowengine: {
  120. workflowengine: path.join(__dirname, 'apps/workflowengine/src', 'workflowengine.js'),
  121. },
  122. }