laconic-console/packages/console-client/webpack.config.js

24 lines
470 B
JavaScript

//
// 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: 'Planner'
}
})
]
});