diff options
author | Zero~Informatique | 2020-02-08 09:14:03 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-02-08 09:14:03 +0100 |
commit | 8b8ff179021a204930253a310cc2e9213e342fd1 (patch) | |
tree | bf572d43ec46c77b9e233ec72fecb68f32fad274 /viewer | |
parent | 41741f1882c019edac15b1a05f51b72e5af069f7 (diff) | |
download | ldgallery-8b8ff179021a204930253a310cc2e9213e342fd1.tar.gz |
viewer: fixed an issue with prefetching du to webpack chunking
Diffstat (limited to 'viewer')
-rw-r--r-- | viewer/visualstudio.code-workspace | 3 | ||||
-rw-r--r-- | viewer/vue.config.js | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/viewer/visualstudio.code-workspace b/viewer/visualstudio.code-workspace index 6935f4f..f8d83c3 100644 --- a/viewer/visualstudio.code-workspace +++ b/viewer/visualstudio.code-workspace | |||
@@ -10,12 +10,13 @@ | |||
10 | "javascript.format.semicolons": "insert", | 10 | "javascript.format.semicolons": "insert", |
11 | "typescript.disableAutomaticTypeAcquisition": true, | 11 | "typescript.disableAutomaticTypeAcquisition": true, |
12 | "vue-i18n-ally.keystyle": "flat", | 12 | "vue-i18n-ally.keystyle": "flat", |
13 | "vue-i18n-ally.localesPaths": "src/locales", | ||
13 | "i18n-ally.localesPaths": "src/locales", | 14 | "i18n-ally.localesPaths": "src/locales", |
14 | } | 15 | } |
15 | } | 16 | } |
16 | // Recommended Visual Studio Code extensions: | 17 | // Recommended Visual Studio Code extensions: |
17 | // - Vetur | 18 | // - Vetur |
18 | // - i18n Ally | 19 | // - Vue i18n Ally |
19 | // - SCSS Everywhere | 20 | // - SCSS Everywhere |
20 | // - Debugger for Chrome | 21 | // - Debugger for Chrome |
21 | // - vscode-icons | 22 | // - vscode-icons |
diff --git a/viewer/vue.config.js b/viewer/vue.config.js index 1ef0f9b..9d885bd 100644 --- a/viewer/vue.config.js +++ b/viewer/vue.config.js | |||
@@ -27,6 +27,9 @@ module.exports = { | |||
27 | enableInSFC: false, | 27 | enableInSFC: false, |
28 | }, | 28 | }, |
29 | }, | 29 | }, |
30 | chainWebpack: (config) => { | ||
31 | config.plugins.delete('prefetch'); | ||
32 | }, | ||
30 | configureWebpack: { | 33 | configureWebpack: { |
31 | devtool: 'source-map' | 34 | devtool: 'source-map' |
32 | }, | 35 | }, |