webpack.modules.js 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. },
  28. dashboard: {
  29. main: path.join(__dirname, 'apps/dashboard/src', 'main.js'),
  30. },
  31. dav: {
  32. 'settings-admin-caldav': path.join(__dirname, 'apps/dav/src', 'settings.js'),
  33. 'settings-personal-availability': path.join(__dirname, 'apps/dav/src', 'settings-personal-availability.js'),
  34. },
  35. files: {
  36. sidebar: path.join(__dirname, 'apps/files/src', 'sidebar.js'),
  37. main: path.join(__dirname, 'apps/files/src', 'main.ts'),
  38. init: path.join(__dirname, 'apps/files/src', 'init.ts'),
  39. search: path.join(__dirname, 'apps/files/src/plugins/search', 'folderSearch.ts'),
  40. 'personal-settings': path.join(__dirname, 'apps/files/src', 'main-personal-settings.js'),
  41. 'reference-files': path.join(__dirname, 'apps/files/src', 'reference-files.ts'),
  42. },
  43. files_external: {
  44. init: path.join(__dirname, 'apps/files_external/src', 'init.ts'),
  45. },
  46. files_reminders: {
  47. init: path.join(__dirname, 'apps/files_reminders/src', 'init.ts'),
  48. },
  49. files_sharing: {
  50. additionalScripts: path.join(__dirname, 'apps/files_sharing/src', 'additionalScripts.js'),
  51. collaboration: path.join(__dirname, 'apps/files_sharing/src', 'collaborationresourceshandler.js'),
  52. files_sharing_tab: path.join(__dirname, 'apps/files_sharing/src', 'files_sharing_tab.js'),
  53. init: path.join(__dirname, 'apps/files_sharing/src', 'init.ts'),
  54. main: path.join(__dirname, 'apps/files_sharing/src', 'main.ts'),
  55. 'personal-settings': path.join(__dirname, 'apps/files_sharing/src', 'personal-settings.js'),
  56. 'public-file-request': path.join(__dirname, 'apps/files_sharing/src', 'public-file-request.ts'),
  57. },
  58. files_trashbin: {
  59. init: path.join(__dirname, 'apps/files_trashbin/src', 'files-init.ts'),
  60. },
  61. files_versions: {
  62. files_versions: path.join(__dirname, 'apps/files_versions/src', 'files_versions_tab.js'),
  63. },
  64. oauth2: {
  65. oauth2: path.join(__dirname, 'apps/oauth2/src', 'main.js'),
  66. },
  67. federatedfilesharing: {
  68. external: path.join(__dirname, 'apps/federatedfilesharing/src', 'external.js'),
  69. 'vue-settings-admin': path.join(__dirname, 'apps/federatedfilesharing/src', 'main-admin.js'),
  70. 'vue-settings-personal': path.join(__dirname, 'apps/federatedfilesharing/src', 'main-personal.js'),
  71. },
  72. settings: {
  73. apps: path.join(__dirname, 'apps/settings/src', 'apps.js'),
  74. 'legacy-admin': path.join(__dirname, 'apps/settings/src', 'admin.js'),
  75. 'vue-settings-admin-basic-settings': path.join(__dirname, 'apps/settings/src', 'main-admin-basic-settings.js'),
  76. 'vue-settings-admin-ai': path.join(__dirname, 'apps/settings/src', 'main-admin-ai.js'),
  77. 'vue-settings-admin-delegation': path.join(__dirname, 'apps/settings/src', 'main-admin-delegation.js'),
  78. 'vue-settings-admin-security': path.join(__dirname, 'apps/settings/src', 'main-admin-security.js'),
  79. 'vue-settings-admin-sharing': path.join(__dirname, 'apps/settings/src', 'admin-settings-sharing.ts'),
  80. 'vue-settings-apps-users-management': path.join(__dirname, 'apps/settings/src', 'main-apps-users-management.ts'),
  81. 'vue-settings-nextcloud-pdf': path.join(__dirname, 'apps/settings/src', 'main-nextcloud-pdf.js'),
  82. 'vue-settings-personal-info': path.join(__dirname, 'apps/settings/src', 'main-personal-info.js'),
  83. 'vue-settings-personal-password': path.join(__dirname, 'apps/settings/src', 'main-personal-password.js'),
  84. 'vue-settings-personal-security': path.join(__dirname, 'apps/settings/src', 'main-personal-security.js'),
  85. 'vue-settings-personal-webauthn': path.join(__dirname, 'apps/settings/src', 'main-personal-webauth.js'),
  86. 'declarative-settings-forms': path.join(__dirname, 'apps/settings/src', 'main-declarative-settings-forms.ts'),
  87. },
  88. sharebymail: {
  89. 'vue-settings-admin-sharebymail': path.join(__dirname, 'apps/sharebymail/src', 'main-admin.js'),
  90. },
  91. systemtags: {
  92. init: path.join(__dirname, 'apps/systemtags/src', 'init.ts'),
  93. admin: path.join(__dirname, 'apps/systemtags/src', 'admin.ts'),
  94. },
  95. theming: {
  96. 'personal-theming': path.join(__dirname, 'apps/theming/src', 'personal-settings.js'),
  97. 'admin-theming': path.join(__dirname, 'apps/theming/src', 'admin-settings.js'),
  98. },
  99. twofactor_backupcodes: {
  100. settings: path.join(__dirname, 'apps/twofactor_backupcodes/src', 'settings.js'),
  101. },
  102. updatenotification: {
  103. init: path.join(__dirname, 'apps/updatenotification/src', 'init.ts'),
  104. 'view-changelog-page': path.join(__dirname, 'apps/updatenotification/src', 'view-changelog-page.ts'),
  105. updatenotification: path.join(__dirname, 'apps/updatenotification/src', 'updatenotification.js'),
  106. },
  107. user_status: {
  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. }