summaryrefslogtreecommitdiff
path: root/WebInterface/NodeJSServer/webpack.config.js
blob: f3635f7257bddce4d42a8e8a03018dcd03da46c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const path = require('path');
const nodeExternals = require('webpack-node-externals');

module.exports = {
  mode: 'production',
  entry: {
    index: './src/index.js',
    about: './src/about.js',
    play: './src/play.js'
  },
  output: {
    filename: '[name].js',
    path: path.resolve(__dirname, './dist/script')
  }
};