aboutsummaryrefslogtreecommitdiff
path: root/vnext/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/webpack.config.js')
-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,