|
@@ -126,6 +126,25 @@ export const baseConfig = {
|
|
|
}),
|
|
|
new rspack.HtmlRspackPlugin({
|
|
|
template: './index.html',
|
|
|
+ title: '声音AI平台',
|
|
|
+ // favicon: path.resolve(__dirname, '../public/favicon.ico'),
|
|
|
+ meta: {
|
|
|
+ description: '声音AI平台 - 专业的声音处理与分析工具',
|
|
|
+ keywords: '声音AI,音频处理,AI平台,语音识别',
|
|
|
+ author: 'Sound AI Team'
|
|
|
+ },
|
|
|
+ minify: isProd() ? {
|
|
|
+ removeComments: true,
|
|
|
+ collapseWhitespace: true,
|
|
|
+ removeRedundantAttributes: true,
|
|
|
+ useShortDoctype: true,
|
|
|
+ removeEmptyAttributes: true,
|
|
|
+ removeStyleLinkTypeAttributes: true,
|
|
|
+ keepClosingSlash: true,
|
|
|
+ minifyJS: true,
|
|
|
+ minifyCSS: true,
|
|
|
+ minifyURLs: true,
|
|
|
+ } : false,
|
|
|
}),
|
|
|
|
|
|
AutoImportPlugin({
|