'use strict' const path = require('path') module.exports = { publicPath: '/', outputDir: 'dist', assetsDir: 'static', lintOnSave: false, productionSourceMap: false, devServer: { port: 8080, open: true, proxy: { '/api': { target: 'http://localhost:8083', changeOrigin: true, pathRewrite: { '^/api': '/api' } }, '/producer': { target: 'http://localhost:8081', changeOrigin: true, pathRewrite: { '^/producer': '/api' } }, '/monitor': { target: 'http://localhost:8094', changeOrigin: true, pathRewrite: { '^/monitor': '/api/kafka/monitor' } } } }, configureWebpack: { resolve: { alias: { '@': path.resolve(__dirname, 'src') } } } }