diff options
author | crupest <crupest@outlook.com> | 2020-08-24 22:37:06 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-08-24 22:37:06 +0800 |
commit | 5a8fb35c2791a921d8833beb37aa2edd5047da4c (patch) | |
tree | 8c81004b6b4390d6509bace2542fc5bd4ac9df7d /Timeline/ClientApp/webpack.common.js | |
parent | 2825df8a82e9aa49ba334f3de4d0ad556675559b (diff) | |
download | timeline-5a8fb35c2791a921d8833beb37aa2edd5047da4c.tar.gz timeline-5a8fb35c2791a921d8833beb37aa2edd5047da4c.tar.bz2 timeline-5a8fb35c2791a921d8833beb37aa2edd5047da4c.zip |
Remove usage of html-webpack-template.
Diffstat (limited to 'Timeline/ClientApp/webpack.common.js')
-rw-r--r-- | Timeline/ClientApp/webpack.common.js | 17 |
1 files changed, 1 insertions, 16 deletions
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: `
- <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
- <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
- <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
- <link rel="manifest" href="/site.webmanifest">
- <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
- <meta name="msapplication-TileColor" content="#2d89ef">
- <meta name="theme-color" content="#ffffff">
- `,
+ template: 'src/app/index.ejs',
title: 'Timeline',
},
]);
|