aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/files_sharing.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/files_sharing.js')
-rw-r--r--apps/files_sharing/src/files_sharing.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/files_sharing/src/files_sharing.js b/apps/files_sharing/src/files_sharing.js
new file mode 100644
index 00000000000..c31c8c6e205
--- /dev/null
+++ b/apps/files_sharing/src/files_sharing.js
@@ -0,0 +1,16 @@
+// CSP config for webpack dynamic chunk loading
+// eslint-disable-next-line
+__webpack_nonce__ = btoa(OC.requestToken)
+
+// Correct the root of the app for chunk loading
+// OC.linkTo matches the apps folders
+// eslint-disable-next-line
+__webpack_public_path__ = OC.linkTo('files_sharing', 'js/dist/')
+
+import '../js/app'
+import '../js/sharedfilelist'
+import '../js/sharetabview'
+import '../js/share'
+import '../js/sharebreadcrumbview'
+
+window.OCA.Sharing = OCA.Sharing