remove meta when build stage

This commit is contained in:
ann 2024-08-14 17:31:34 +08:00
parent f2f3ea5090
commit 057ad09065
1 changed files with 2 additions and 0 deletions

View File

@ -4,7 +4,9 @@
<meta charset="utf-8">
<!-- <meta http-equiv="X-UA-Compatible" content="IE=edge"> -->
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<% if (htmlWebpackPlugin.options.cdn.length) { %>
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<% } %>
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
<!-- 使用CDN的CSS文件 -->