1
0

webpack.modules.js 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. files_client: path.join(__dirname, 'core/src', 'files/client.js'),
  14. files_fileinfo: path.join(__dirname, 'core/src', 'files/fileinfo.js'),
  15. install: path.join(__dirname, 'core/src', 'install.js'),
  16. login: path.join(__dirname, 'core/src', 'login.js'),
  17. main: path.join(__dirname, 'core/src', 'main.js'),
  18. maintenance: path.join(__dirname, 'core/src', 'maintenance.js'),
  19. profile: path.join(__dirname, 'core/src', 'profile.ts'),
  20. recommendedapps: path.join(__dirname, 'core/src', 'recommendedapps.js'),
  21. systemtags: path.resolve(__dirname, 'core/src', 'systemtags/merged-systemtags.js'),
  22. 'unified-search': path.join(__dirname, 'core/src', 'unified-search.ts'),
  23. 'legacy-unified-search': path.join(__dirname, 'core/src', 'legacy-unified-search.js'),
  24. 'unsupported-browser': path.join(__dirname, 'core/src', 'unsupported-browser.js'),
  25. 'unsupported-browser-redirect': path.join(__dirname, 'core/src', 'unsupported-browser-redirect.js'),
  26. },
  27. dashboard: {
  28. main: path.join(__dirname, 'apps/dashboard/src', 'main.js'),
  29. },
  30. dav: {
  31. 'settings-admin-caldav': path.join(__dirname, 'apps/dav/src', 'settings.js'),
  32. 'settings-personal-availability': path.join(__dirname, 'apps/dav/src', 'settings-personal-availability.js'),
  33. },
  34. files: {
  35. sidebar: path.join(__dirname, 'apps/files/src', 'sidebar.js'),
  36. main: path.join(__dirname, 'apps/files/src', 'main.ts'),
  37. init: path.join(__dirname, 'apps/files/src', 'init.ts'),
  38. search: path.join(__dirname, 'apps/files/src/plugins/search', 'folderSearch.ts'),
  39. 'personal-settings': path.join(__dirname, 'apps/files/src', 'main-personal-settings.js'),
  40. 'reference-files': path.join(__dirname, 'apps/files/src', 'reference-files.ts'),
  41. },
  42. files_external: {
  43. init: path.join(__dirname, 'apps/files_external/src', 'init.ts'),
  44. },
  45. files_reminders: {
  46. init: path.join(__dirname, 'apps/files_reminders/src', 'init.ts'),
  47. },
  48. files_sharing: {
  49. additionalScripts: path.join(__dirname, 'apps/files_sharing/src', 'additionalScripts.js'),
  50. collaboration: path.join(__dirname, 'apps/files_sharing/src', 'collaborationresourceshandler.js'),
  51. files_sharing_tab: path.join(__dirname, 'apps/files_sharing/src', 'files_sharing_tab.js'),
  52. init: path.join(__dirname, 'apps/files_sharing/src', 'init.ts'),
  53. main: path.join(__dirname, 'apps/files_sharing/src', 'main.ts'),
  54. 'personal-settings': path.join(__dirname, 'apps/files_sharing/src', 'personal-settings.js'),
  55. },
  56. files_trashbin: {
  57. main: path.join(__dirname, 'apps/files_trashbin/src', 'main.ts'),
  58. },
  59. files_versions: {
  60. files_versions: path.join(__dirname, 'apps/files_versions/src', 'files_versions_tab.js'),
  61. },
  62. oauth2: {
  63. oauth2: path.join(__dirname, 'apps/oauth2/src', 'main.js'),
  64. },
  65. federatedfilesharing: {
  66. 'external': path.join(__dirname, 'apps/federatedfilesharing/src', 'external.js'),
  67. 'vue-settings-admin': path.join(__dirname, 'apps/federatedfilesharing/src', 'main-admin.js'),
  68. 'vue-settings-personal': path.join(__dirname, 'apps/federatedfilesharing/src', 'main-personal.js'),
  69. },
  70. settings: {
  71. apps: path.join(__dirname, 'apps/settings/src', 'apps.js'),
  72. 'legacy-admin': path.join(__dirname, 'apps/settings/src', 'admin.js'),
  73. 'vue-settings-admin-basic-settings': path.join(__dirname, 'apps/settings/src', 'main-admin-basic-settings.js'),
  74. 'vue-settings-admin-ai': path.join(__dirname, 'apps/settings/src', 'main-admin-ai.js'),
  75. 'vue-settings-admin-delegation': path.join(__dirname, 'apps/settings/src', 'main-admin-delegation.js'),
  76. 'vue-settings-admin-security': path.join(__dirname, 'apps/settings/src', 'main-admin-security.js'),
  77. 'vue-settings-admin-sharing': path.join(__dirname, 'apps/settings/src', 'admin-settings-sharing.ts'),
  78. 'vue-settings-apps-users-management': path.join(__dirname, 'apps/settings/src', 'main-apps-users-management.ts'),
  79. 'vue-settings-nextcloud-pdf': path.join(__dirname, 'apps/settings/src', 'main-nextcloud-pdf.js'),
  80. 'vue-settings-personal-info': path.join(__dirname, 'apps/settings/src', 'main-personal-info.js'),
  81. 'vue-settings-personal-password': path.join(__dirname, 'apps/settings/src', 'main-personal-password.js'),
  82. 'vue-settings-personal-security': path.join(__dirname, 'apps/settings/src', 'main-personal-security.js'),
  83. 'vue-settings-personal-webauthn': path.join(__dirname, 'apps/settings/src', 'main-personal-webauth.js'),
  84. 'declarative-settings-forms': path.join(__dirname, 'apps/settings/src', 'main-declarative-settings-forms.ts'),
  85. },
  86. sharebymail: {
  87. 'vue-settings-admin-sharebymail': path.join(__dirname, 'apps/sharebymail/src', 'main-admin.js'),
  88. },
  89. systemtags: {
  90. init: path.join(__dirname, 'apps/systemtags/src', 'init.ts'),
  91. admin: path.join(__dirname, 'apps/systemtags/src', 'admin.ts'),
  92. },
  93. theming: {
  94. 'personal-theming': path.join(__dirname, 'apps/theming/src', 'personal-settings.js'),
  95. 'admin-theming': path.join(__dirname, 'apps/theming/src', 'admin-settings.js'),
  96. },
  97. twofactor_backupcodes: {
  98. settings: path.join(__dirname, 'apps/twofactor_backupcodes/src', 'settings.js'),
  99. },
  100. updatenotification: {
  101. init: path.join(__dirname, 'apps/updatenotification/src', 'init.ts'),
  102. 'view-changelog-page': path.join(__dirname, 'apps/updatenotification/src', 'view-changelog-page.ts'),
  103. updatenotification: path.join(__dirname, 'apps/updatenotification/src', 'updatenotification.js'),
  104. },
  105. user_status: {
  106. menu: path.join(__dirname, 'apps/user_status/src', 'menu.js'),
  107. },
  108. weather_status: {
  109. 'weather-status': path.join(__dirname, 'apps/weather_status/src', 'weather-status.js'),
  110. },
  111. workflowengine: {
  112. workflowengine: path.join(__dirname, 'apps/workflowengine/src', 'workflowengine.js'),
  113. },
  114. }