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