diff options
author | OzoneGrif | 2020-02-08 09:27:17 +0100 |
---|---|---|
committer | GitHub | 2020-02-08 09:27:17 +0100 |
commit | 32abf4e1f82dcb9738bbfc41a84bb38672e14603 (patch) | |
tree | 6c84ca58754eb34a1d9962a63446535a1386c975 /viewer/vue.config.js | |
parent | 2480140446e01c8cd0e317016c6debde5f14e8ab (diff) | |
parent | 8b8ff179021a204930253a310cc2e9213e342fd1 (diff) | |
download | ldgallery-32abf4e1f82dcb9738bbfc41a84bb38672e14603.tar.gz |
Merge pull request #98 from pacien/oz-project-optimization
Oz project optimization
Diffstat (limited to 'viewer/vue.config.js')
-rw-r--r-- | viewer/vue.config.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/viewer/vue.config.js b/viewer/vue.config.js index 67b7461..9d885bd 100644 --- a/viewer/vue.config.js +++ b/viewer/vue.config.js | |||
@@ -27,9 +27,15 @@ module.exports = { | |||
27 | enableInSFC: false, | 27 | enableInSFC: false, |
28 | }, | 28 | }, |
29 | }, | 29 | }, |
30 | chainWebpack: (config) => { | ||
31 | config.plugins.delete('prefetch'); | ||
32 | }, | ||
33 | configureWebpack: { | ||
34 | devtool: 'source-map' | ||
35 | }, | ||
30 | productionSourceMap: false, | 36 | productionSourceMap: false, |
31 | devServer: { | 37 | devServer: { |
32 | port: 8085, | 38 | port: process.env.VUE_APP_DEVSERVER_PORT, |
33 | serveIndex: true, | 39 | serveIndex: true, |
34 | before: (app, server, compiler) => { | 40 | before: (app, server, compiler) => { |
35 | app.get(`/${process.env.VUE_APP_DATA_URL}*`, (req, res) => { | 41 | app.get(`/${process.env.VUE_APP_DATA_URL}*`, (req, res) => { |