2020-05-23 17:13:45 +00:00
|
|
|
//
|
|
|
|
// Copyright 2019 DxOS
|
|
|
|
//
|
|
|
|
|
|
|
|
const merge = require('webpack-merge');
|
|
|
|
const HtmlWebPackPlugin = require('html-webpack-plugin');
|
|
|
|
|
|
|
|
const commonConfig = require('./webpack-common.config');
|
|
|
|
|
|
|
|
module.exports = merge(commonConfig, {
|
2020-05-27 23:09:20 +00:00
|
|
|
entry: './src/main.js',
|
2020-05-23 17:13:45 +00:00
|
|
|
|
|
|
|
plugins: [
|
|
|
|
// https://github.com/jantimon/html-webpack-plugin#options
|
|
|
|
new HtmlWebPackPlugin({
|
|
|
|
template: './public/index.html',
|
|
|
|
templateParameters: {
|
2020-05-23 23:01:17 +00:00
|
|
|
title: 'DxOS Console'
|
2020-05-23 17:13:45 +00:00
|
|
|
}
|
|
|
|
})
|
|
|
|
]
|
|
|
|
});
|