From 89d83a582dda4d8afb8f099905fa2a3b5a6cb08b Mon Sep 17 00:00:00 2001 From: gaosp <gaosp> Date: 星期三, 17 一月 2024 00:11:41 +0800 Subject: [PATCH] updatte --- build/webpack.dev.conf.js | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js index 7093903..460b6c8 100644 --- a/build/webpack.dev.conf.js +++ b/build/webpack.dev.conf.js @@ -1,3 +1,9 @@ +/* + * @Date: 2019-12-13 16:30:56 + * @LastEditors: Sneed + * @LastEditTime: 2024-01-03 21:54:18 + * @FilePath: /belleson-frontend/Users/mache/Library/Containers/com.tencent.xinWeChat/Data/Library/Application Support/com.tencent.xinWeChat/2.0b4.0.9/650b28d71b3acf9feb5c2af6da2686eb/Message/MessageTemp/650b28d71b3acf9feb5c2af6da2686eb/File/mdc-portal/build/webpack.dev.conf.js + */ 'use strict' const path = require('path') const utils = require('./utils') @@ -54,7 +60,16 @@ filename: 'index.html', template: 'index.html', inject: true, - favicon: resolve('favicon.ico'), + chunks: ['manifest', 'vendor', 'app'], + // favicon: resolve('favicon.ico'), + title: 'mdc-portal' + }), + new HtmlWebpackPlugin({ + filename: 'test.html', + template: 'index.html', + inject: true, + chunks: ['manifest', 'vendor', 'test'], + // favicon: resolve('favicon.ico'), title: 'mdc-portal' }), ] -- Gitblit v1.9.3