laconic-console/webpack.config.js

23 lines
480 B
JavaScript
Raw Permalink Normal View History

//
2020-06-23 14:19:01 +00:00
// Copyright 2019 DXOS.org
//
2023-03-20 01:11:48 +00:00
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'
}
})
]
});