diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-02 18:57:11 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 10:14:50 +0100 |
commit | 87d0904b6f6209a553efd5d405c917012a91e259 (patch) | |
tree | 8f5d1c53a68cd192fa3b318c63eba0b9108b40a0 /apps/files | |
parent | 74b980310852a0b406fa9d073870f92c409d5444 (diff) | |
download | nextcloud-server-87d0904b6f6209a553efd5d405c917012a91e259.tar.gz nextcloud-server-87d0904b6f6209a553efd5d405c917012a91e259.zip |
Split common vendor chunk
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/lib/Controller/ViewController.php | 6 | ||||
-rw-r--r-- | apps/files/src/main.js | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index bba8660399c..c73e8f77a3a 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -196,10 +196,8 @@ class ViewController extends Controller { // Load the files we need \OCP\Util::addStyle('files', 'merged'); - \OCP\Util::addScript('files', 'merged-index'); - \OCP\Util::addScript('files', 'templates'); - \OCP\Util::addScript('files', 'files-app-settings'); - \OCP\Util::addScript('files', 'legacy-filelist-search'); + \OCP\Util::addScript('files', 'merged-index', 'files'); + \OCP\Util::addScript('files', 'main'); // mostly for the home storage's free space // FIXME: Make non static diff --git a/apps/files/src/main.js b/apps/files/src/main.js new file mode 100644 index 00000000000..a979822bdc4 --- /dev/null +++ b/apps/files/src/main.js @@ -0,0 +1,3 @@ +import './files-app-settings' +import './templates' +import './legacy/filelistSearch' |