webpack.modules.js 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. 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. main: path.join(__dirname, 'apps/files_sharing/src', 'main.ts'),
  56. 'personal-settings': path.join(__dirname, 'apps/files_sharing/src', 'personal-settings.js'),
  57. 'public-file-request': path.join(__dirname, 'apps/files_sharing/src', 'public-file-request.ts'),
  58. },
  59. files_trashbin: {
  60. init: path.join(__dirname, 'apps/files_trashbin/src', 'files-init.ts'),
  61. },
  62. files_versions: {
  63. files_versions: path.join(__dirname, 'apps/files_versions/src', 'files_versions_tab.js'),
  64. },
  65. oauth2: {
  66. oauth2: path.join(__dirname, 'apps/oauth2/src', 'main.js'),
  67. },
  68. federatedfilesharing: {
  69. external: path.join(__dirname, 'apps/federatedfilesharing/src', 'external.js'),
  70. 'vue-settings-admin': path.join(__dirname, 'apps/federatedfilesharing/src', 'main-admin.js'),
  71. 'vue-settings-personal': path.join(__dirname, 'apps/federatedfilesharing/src', 'main-personal.js'),
  72. },
  73. settings: {
  74. apps: path.join(__dirname, 'apps/settings/src', 'apps.js'),
  75. 'legacy-admin': path.join(__dirname, 'apps/settings/src', 'admin.js'),
  76. 'vue-settings-admin-basic-settings': path.join(__dirname, 'apps/settings/src', 'main-admin-basic-settings.js'),
  77. 'vue-settings-admin-ai': path.join(__dirname, 'apps/settings/src', 'main-admin-ai.js'),
  78. 'vue-settings-admin-delegation': path.join(__dirname, 'apps/settings/src', 'main-admin-delegation.js'),
  79. 'vue-settings-admin-security': path.join(__dirname, 'apps/settings/src', 'main-admin-security.js'),
  80. 'vue-settings-admin-sharing': path.join(__dirname, 'apps/settings/src', 'admin-settings-sharing.ts'),
  81. 'vue-settings-apps-users-management': path.join(__dirname, 'apps/settings/src', 'main-apps-users-management.ts'),
  82. 'vue-settings-nextcloud-pdf': path.join(__dirname, 'apps/settings/src', 'main-nextcloud-pdf.js'),
  83. 'vue-settings-personal-info': path.join(__dirname, 'apps/settings/src', 'main-personal-info.js'),
  84. 'vue-settings-personal-password': path.join(__dirname, 'apps/settings/src', 'main-personal-password.js'),
  85. 'vue-settings-personal-security': path.join(__dirname, 'apps/settings/src', 'main-personal-security.js'),
  86. 'vue-settings-personal-webauthn': path.join(__dirname, 'apps/settings/src', 'main-personal-webauth.js'),
  87. 'declarative-settings-forms': path.join(__dirname, 'apps/settings/src', 'main-declarative-settings-forms.ts'),
  88. },
  89. sharebymail: {
  90. 'vue-settings-admin-sharebymail': path.join(__dirname, 'apps/sharebymail/src', 'main-admin.js'),
  91. },
  92. systemtags: {
  93. init: path.join(__dirname, 'apps/systemtags/src', 'init.ts'),
  94. admin: path.join(__dirname, 'apps/systemtags/src', 'admin.ts'),
  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. init: path.join(__dirname, 'apps/updatenotification/src', 'init.ts'),
  105. 'view-changelog-page': path.join(__dirname, 'apps/updatenotification/src', 'view-changelog-page.ts'),
  106. updatenotification: path.join(__dirname, 'apps/updatenotification/src', 'updatenotification.js'),
  107. },
  108. user_status: {
  109. menu: path.join(__dirname, 'apps/user_status/src', 'menu.js'),
  110. },
  111. weather_status: {
  112. 'weather-status': path.join(__dirname, 'apps/weather_status/src', 'weather-status.js'),
  113. },
  114. workflowengine: {
  115. workflowengine: path.join(__dirname, 'apps/workflowengine/src', 'workflowengine.js'),
  116. },
  117. }