2 // Template version: 1.3.1
3 // see http://vuejs-templates.github.io/webpack for documentation.
5 const path = require('path')
11 assetsSubDirectory: 'static',
12 assetsPublicPath: '/',
15 target: 'http://conductor_conductor-ui_1:5000/',
17 pathRewrite: {'^/wf-graph':''}
20 target: 'http://conductor_conductor-ui_1:5000/',
24 target: 'http://conductor_conductor-server_1:8080/',
26 pathRewrite: {'^/workflow':''}
29 target: 'http://t-scheduler-server:5310/',
30 pathRewrite: {'^/parser':''}
34 // Various Dev Server settings
35 host: '0.0.0.0', // can be overwritten by process.env.HOST
36 port: 5311, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
37 autoOpenBrowser: false,
40 poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
43 // If true, your code will be linted during bundling and
44 // linting errors and warnings will be shown in the console.
46 // If true, eslint errors and warnings will also be shown in the error overlay
48 showEslintErrorsInOverlay: false,
54 // https://webpack.js.org/configuration/devtool/#development
55 devtool: 'cheap-module-eval-source-map',
57 // If you have problems debugging vue-files in devtools,
58 // set this to false - it *may* help
59 // https://vue-loader.vuejs.org/en/options.html#cachebusting
66 // Template for index.html
67 index: path.resolve(__dirname, '../dist/index.html'),
70 assetsRoot: path.resolve(__dirname, '../dist'),
71 assetsSubDirectory: 'static',
72 assetsPublicPath: '/',
78 productionSourceMap: true,
79 // https://webpack.js.org/configuration/devtool/#production
80 devtool: '#source-map',
82 // Gzip off by default as many popular static hosts such as
83 // Surge or Netlify already gzip all static assets for you.
84 // Before setting to `true`, make sure to:
85 // npm install --save-dev compression-webpack-plugin
86 productionGzip: false,
87 productionGzipExtensions: ['js', 'css'],
89 // Run the build command with an extra argument to
90 // View the bundle analyzer report after build finishes:
91 // `npm run build --report`
92 // Set to `true` or `false` to always turn it on or off
93 bundleAnalyzerReport: process.env.npm_config_report