aboutsummaryrefslogtreecommitdiff
path: root/viewer/vue.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/vue.config.js')
-rw-r--r--viewer/vue.config.js8
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) => {