//
// Copyright 2019 DxOS
//

const merge = require('webpack-merge');
const HtmlWebPackPlugin = require('html-webpack-plugin');

const commonConfig = require('./webpack-common.config');

module.exports = merge(commonConfig, {

  entry: './src/main',

  plugins: [
    // https://github.com/jantimon/html-webpack-plugin#options
    new HtmlWebPackPlugin({
      template: './public/index.html',
      templateParameters: {
        title: 'DxOS Console'
      }
    })
  ]
});
