From 13cf2ab0598adb291066ef64a7b377909ef58525 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 24 Aug 2020 22:37:06 +0800 Subject: Remove usage of html-webpack-template. --- Timeline/ClientApp/webpack.common.js | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'Timeline/ClientApp/webpack.common.js') diff --git a/Timeline/ClientApp/webpack.common.js b/Timeline/ClientApp/webpack.common.js index 7d40fdce..b8e2a5f6 100644 --- a/Timeline/ClientApp/webpack.common.js +++ b/Timeline/ClientApp/webpack.common.js @@ -1,5 +1,4 @@ const path = require('path'); -const htmlWebpackTemplate = require('html-webpack-template'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const PnpWebpackPlugin = require('pnp-webpack-plugin'); const postcssPresetEnv = require('postcss-preset-env'); @@ -88,21 +87,7 @@ config.output config.plugin('html').use(HtmlWebpackPlugin, [ { - inject: false, - template: htmlWebpackTemplate, - - appMountId: 'app', - mobile: true, - - headHtmlSnippet: ` - - - - - - - - `, + template: 'src/app/index.ejs', title: 'Timeline', }, ]); -- cgit v1.2.3