webpack.modules.js 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. profile: path.join(__dirname, 'core/src', 'profile.ts'),
  21. 'public-page-menu': path.resolve(__dirname, 'core/src', 'public-page-menu.ts'),
  22. recommendedapps: path.join(__dirname, 'core/src', 'recommendedapps.js'),
  23. systemtags: path.resolve(__dirname, 'core/src', 'systemtags/merged-systemtags.js'),
  24. 'unified-search': path.join(__dirname, 'core/src', 'unified-search.ts'),
  25. 'legacy-unified-search': path.join(__dirname, 'core/src', 'legacy-unified-search.js'),
  26. 'unsupported-browser': path.join(__dirname, 'core/src', 'unsupported-browser.js'),
  27. 'unsupported-browser-redirect': path.join(__dirname, 'core/src', 'unsupported-browser-redirect.js'),
  28. public: path.join(__dirname, 'core/src', 'public.ts'),
  29. },
  30. dashboard: {
  31. main: path.join(__dirname, 'apps/dashboard/src', 'main.js'),
  32. },
  33. dav: {
  34. 'settings-admin-caldav': path.join(__dirname, 'apps/dav/src', 'settings.js'),
  35. 'settings-personal-availability': path.join(__dirname, 'apps/dav/src', 'settings-personal-availability.js'),
  36. },
  37. files: {
  38. sidebar: path.join(__dirname, 'apps/files/src', 'sidebar.js'),
  39. main: path.join(__dirname, 'apps/files/src', 'main.ts'),
  40. init: path.join(__dirname, 'apps/files/src', 'init.ts'),
  41. search: path.join(__dirname, 'apps/files/src/plugins/search', 'folderSearch.ts'),
  42. 'settings-personal': path.join(__dirname, 'apps/files/src', 'main-personal-settings.js'),
  43. 'reference-files': path.join(__dirname, 'apps/files/src', 'reference-files.ts'),
  44. },
  45. files_external: {
  46. init: path.join(__dirname, 'apps/files_external/src', 'init.ts'),
  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. settings: {
  76. apps: path.join(__dirname, 'apps/settings/src', 'apps.js'),
  77. 'legacy-admin': path.join(__dirname, 'apps/settings/src', 'admin.js'),
  78. 'vue-settings-admin-basic-settings': path.join(__dirname, 'apps/settings/src', 'main-admin-basic-settings.js'),
  79. 'vue-settings-admin-ai': path.join(__dirname, 'apps/settings/src', 'main-admin-ai.js'),
  80. 'vue-settings-admin-delegation': path.join(__dirname, 'apps/settings/src', 'main-admin-delegation.js'),
  81. 'vue-settings-admin-security': path.join(__dirname, 'apps/settings/src', 'main-admin-security.js'),
  82. 'vue-settings-admin-sharing': path.join(__dirname, 'apps/settings/src', 'admin-settings-sharing.ts'),
  83. 'vue-settings-apps-users-management': path.join(__dirname, 'apps/settings/src', 'main-apps-users-management.ts'),
  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. 'declarative-settings-forms': path.join(__dirname, 'apps/settings/src', 'main-declarative-settings-forms.ts'),
  90. },
  91. sharebymail: {
  92. 'vue-settings-admin-sharebymail': path.join(__dirname, 'apps/sharebymail/src', 'main-admin.js'),
  93. },
  94. systemtags: {
  95. init: path.join(__dirname, 'apps/systemtags/src', 'init.ts'),
  96. admin: path.join(__dirname, 'apps/systemtags/src', 'admin.ts'),
  97. },
  98. theming: {
  99. 'personal-theming': path.join(__dirname, 'apps/theming/src', 'personal-settings.js'),
  100. 'admin-theming': path.join(__dirname, 'apps/theming/src', 'admin-settings.js'),
  101. },
  102. twofactor_backupcodes: {
  103. settings: path.join(__dirname, 'apps/twofactor_backupcodes/src', 'settings.js'),
  104. },
  105. updatenotification: {
  106. init: path.join(__dirname, 'apps/updatenotification/src', 'init.ts'),
  107. 'view-changelog-page': path.join(__dirname, 'apps/updatenotification/src', 'view-changelog-page.ts'),
  108. updatenotification: path.join(__dirname, 'apps/updatenotification/src', 'updatenotification.js'),
  109. },
  110. user_status: {
  111. menu: path.join(__dirname, 'apps/user_status/src', 'menu.js'),
  112. },
  113. weather_status: {
  114. 'weather-status': path.join(__dirname, 'apps/weather_status/src', 'weather-status.js'),
  115. },
  116. workflowengine: {
  117. workflowengine: path.join(__dirname, 'apps/workflowengine/src', 'workflowengine.js'),
  118. },
  119. }