2020-05-23 17:13:45 +00:00
|
|
|
//
|
2020-06-23 14:19:01 +00:00
|
|
|
// Copyright 2019 DXOS.org
|
2020-05-23 17:13:45 +00:00
|
|
|
//
|
|
|
|
|
2023-03-20 01:11:48 +00:00
|
|
|
const { merge } = require('webpack-merge');
|
2020-05-23 17:13:45 +00:00
|
|
|
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',
|
2024-08-09 14:16:13 +00:00
|
|
|
favicon: './public/favicon.ico',
|
2020-05-23 17:13:45 +00:00
|
|
|
templateParameters: {
|
2020-10-30 19:15:01 +00:00
|
|
|
title: 'Console'
|
2020-05-23 17:13:45 +00:00
|
|
|
}
|
|
|
|
})
|
|
|
|
]
|
|
|
|
});
|