aboutsummaryrefslogtreecommitdiffstats
path: root/gui-pdp-monitoring/src/webapp/webpack.config.js
blob: 4b1c179d1fc6f17638b7018914dec469e409d346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const path = require('path');

module.exports = {
  mode: 'production',
  entry: './js/MonitoringMain.js',
  output: {
    filename: 'bundle.js',
    path: path.resolve(__dirname, 'dist'),
  },
  devServer: {
    contentBase: path.join(__dirname, 'dist'),
    compress: true,
    port: 9000,
    proxy: {
      "/papservices/monitoring": "http://localhost:17999",
    }
  }
};