--- /dev/null
+'use strict'\r
+// Template version: 1.3.1\r
+// see http://vuejs-templates.github.io/webpack for documentation.\r
+\r
+const path = require('path')\r
+\r
+module.exports = {\r
+ dev: {\r
+\r
+ // Paths\r
+ assetsSubDirectory: 'static',\r
+ assetsPublicPath: '/',\r
+ proxyTable: {\r
+ '/wf-graph': {\r
+ target: 'http://conductor_conductor-ui_1:5000/',\r
+ changeOrigin: true,\r
+ pathRewrite: {'^/wf-graph':''}\r
+ },\r
+ '/api': {\r
+ target: 'http://conductor_conductor-ui_1:5000/',\r
+ changeOrigin: true\r
+ },\r
+ '/wf-server': {\r
+ target: 'http://conductor_conductor-server_1:8080/',\r
+ changeOrigin: true,\r
+ pathRewrite: {'^/workflow':''}\r
+ },\r
+ '/parser': {\r
+ target: 'http://t-scheduler-server:5310/',\r
+ pathRewrite: {'^/parser':''}\r
+ }\r
+ },\r
+\r
+ // Various Dev Server settings\r
+ host: '0.0.0.0', // can be overwritten by process.env.HOST\r
+ port: 5311, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined\r
+ autoOpenBrowser: false,\r
+ errorOverlay: true,\r
+ notifyOnErrors: true,\r
+ poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-\r
+\r
+ // Use Eslint Loader?\r
+ // If true, your code will be linted during bundling and\r
+ // linting errors and warnings will be shown in the console.\r
+ useEslint: true,\r
+ // If true, eslint errors and warnings will also be shown in the error overlay\r
+ // in the browser.\r
+ showEslintErrorsInOverlay: false,\r
+\r
+ /**\r
+ * Source Maps\r
+ */\r
+\r
+ // https://webpack.js.org/configuration/devtool/#development\r
+ devtool: 'cheap-module-eval-source-map',\r
+\r
+ // If you have problems debugging vue-files in devtools,\r
+ // set this to false - it *may* help\r
+ // https://vue-loader.vuejs.org/en/options.html#cachebusting\r
+ cacheBusting: true,\r
+\r
+ cssSourceMap: true\r
+ },\r
+\r
+ build: {\r
+ // Template for index.html\r
+ index: path.resolve(__dirname, '../dist/index.html'),\r
+\r
+ // Paths\r
+ assetsRoot: path.resolve(__dirname, '../dist'),\r
+ assetsSubDirectory: 'static',\r
+ assetsPublicPath: '/',\r
+\r
+ /**\r
+ * Source Maps\r
+ */\r
+\r
+ productionSourceMap: true,\r
+ // https://webpack.js.org/configuration/devtool/#production\r
+ devtool: '#source-map',\r
+\r
+ // Gzip off by default as many popular static hosts such as\r
+ // Surge or Netlify already gzip all static assets for you.\r
+ // Before setting to `true`, make sure to:\r
+ // npm install --save-dev compression-webpack-plugin\r
+ productionGzip: false,\r
+ productionGzipExtensions: ['js', 'css'],\r
+\r
+ // Run the build command with an extra argument to\r
+ // View the bundle analyzer report after build finishes:\r
+ // `npm run build --report`\r
+ // Set to `true` or `false` to always turn it on or off\r
+ bundleAnalyzerReport: process.env.npm_config_report\r
+ }\r
+}\r