diff options
author | Zero~Informatique | 2020-02-07 07:55:09 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-02-07 07:57:19 +0100 |
commit | 41741f1882c019edac15b1a05f51b72e5af069f7 (patch) | |
tree | 6fa3d34500aa85e877b7d820792ce627fb494429 /viewer/vue.config.js | |
parent | bb186990000dd133ecfe6741472b03af92eea233 (diff) | |
download | ldgallery-41741f1882c019edac15b1a05f51b72e5af069f7.tar.gz |
viewer: project optimization for faster init, and a better Visual Studio Code environnement
Diffstat (limited to 'viewer/vue.config.js')
-rw-r--r-- | viewer/vue.config.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/viewer/vue.config.js b/viewer/vue.config.js index 67b7461..1ef0f9b 100644 --- a/viewer/vue.config.js +++ b/viewer/vue.config.js | |||
@@ -27,9 +27,12 @@ module.exports = { | |||
27 | enableInSFC: false, | 27 | enableInSFC: false, |
28 | }, | 28 | }, |
29 | }, | 29 | }, |
30 | configureWebpack: { | ||
31 | devtool: 'source-map' | ||
32 | }, | ||
30 | productionSourceMap: false, | 33 | productionSourceMap: false, |
31 | devServer: { | 34 | devServer: { |
32 | port: 8085, | 35 | port: process.env.VUE_APP_DEVSERVER_PORT, |
33 | serveIndex: true, | 36 | serveIndex: true, |
34 | before: (app, server, compiler) => { | 37 | before: (app, server, compiler) => { |
35 | app.get(`/${process.env.VUE_APP_DATA_URL}*`, (req, res) => { | 38 | app.get(`/${process.env.VUE_APP_DATA_URL}*`, (req, res) => { |