chore(cli): imporve site search result

This commit is contained in:
陈嘉涵
2020-01-11 07:47:19 +08:00
parent 0f3cc3c633
commit e18e36d95a
4 changed files with 5 additions and 1 deletions

View File

@@ -80,6 +80,7 @@ export const siteDevBaseConfig = merge(baseConfig as any, {
new HtmlWebpackPlugin({
title,
logo: siteConfig.logo,
description: siteConfig.description,
chunks: ['chunks', 'site-desktop'],
template: join(__dirname, '../../site/desktop/index.html'),
filename: 'index.html',
@@ -88,6 +89,7 @@ export const siteDevBaseConfig = merge(baseConfig as any, {
new HtmlWebpackPlugin({
title,
logo: siteConfig.logo,
description: siteConfig.description,
chunks: ['chunks', 'site-mobile'],
template: join(__dirname, '../../site/mobile/index.html'),
filename: 'mobile.html',