laconic-console/webpack.config.js
2023-03-20 02:23:46 -06:00

23 lines
480 B
JavaScript

//
// Copyright 2019 DXOS.org
//
const { merge } = require('webpack-merge');
const HtmlWebPackPlugin = require('html-webpack-plugin');
const commonConfig = require('./webpack-common.config');
module.exports = merge(commonConfig, {
entry: './src/main.js',
plugins: [
// https://github.com/jantimon/html-webpack-plugin#options
new HtmlWebPackPlugin({
template: './public/index.html',
templateParameters: {
title: 'Console'
}
})
]
});