diff options
author | Max <max@nextcloud.com> | 2022-05-03 17:33:18 +0300 |
---|---|---|
committer | Max <max@nextcloud.com> | 2022-07-05 07:22:59 +0300 |
commit | 47db3244d1ffb2ae4659c36bb1c927d091904bf5 (patch) | |
tree | 8205a1351808465d7da957c3df56d457cba08adf /src/main.js | |
parent | e534fbfbe9bbe88437c82f0a701ef258c3ccf2bc (diff) |
fix: specify file extensions in import statements
As recommended in @nextcloud/eslint-config@8.0.0
https://github.com/nextcloud/eslint-config/pull/292
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.js b/src/main.js index acc9add9a..5217a9570 100644 --- a/src/main.js +++ b/src/main.js @@ -1,4 +1,4 @@ -import store from './store' +import store from './store.js' __webpack_nonce__ = btoa(OC.requestToken) // eslint-disable-line __webpack_public_path__ = OC.linkTo('text', 'js/') // eslint-disable-line @@ -6,7 +6,7 @@ __webpack_public_path__ = OC.linkTo('text', 'js/') // eslint-disable-line if (document.getElementById('app-content')) { Promise.all([ import(/* webpackChunkName: "editor" */'vue'), - import(/* webpackChunkName: "editor" */'./views/DirectEditing'), + import(/* webpackChunkName: "editor" */'./views/DirectEditing.vue'), ]).then((imports) => { const Vue = imports[0].default Vue.prototype.t = window.t |