From 3db5ab3125a05d4148f9100f510e50ab8c898a88 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Sat, 24 Jul 2021 15:48:34 +0200 Subject: [PATCH] Use webpack code splitting Signed-off-by: Marcel Klehr --- .eslintrc.js | 8 ++++++-- src/App.vue | 7 +++++++ src/router.js | 7 ++++--- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index a1b2c4a1..31aaf797 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,9 @@ module.exports = { extends: [ - '@nextcloud' - ] + '@nextcloud', + ], + globals: { + __webpack_public_path__: true, + __webpack_nonce__: true, + }, } diff --git a/src/App.vue b/src/App.vue index c9356ede..ed65850a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,8 +11,15 @@