aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-03-06 08:46:49 +0300
committerGravatar Vitaly Takmazov2023-03-06 08:46:49 +0300
commitadf0f97931e06a2b9ce55b5e0b1106c62dbd9b38 (patch)
treef2285fdf9633488a33892001e074b92bb57cd60a /vnext
parent5c3c6b9e3e12b28efce9937fde29490f7d5b7a59 (diff)
vnext: html-webpack-plugin
Diffstat (limited to 'vnext')
-rw-r--r--vnext/webpack.config.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js
index a4bc0081..821ce2f7 100644
--- a/vnext/webpack.config.js
+++ b/vnext/webpack.config.js
@@ -1,4 +1,5 @@
const ESLintPlugin = require('eslint-webpack-plugin');
+const HtmlWebpackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const TerserPlugin = require('terser-webpack-plugin');
@@ -49,6 +50,9 @@ module.exports = (env, argv) => {
}]
},
plugins: [
+ new HtmlWebpackPlugin({
+ template: __dirname + '/src/index.html'
+ }),
],
resolve: {
symlinks: false,