1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-14 10:14:27 +07:00

feat: custom favicon

This commit is contained in:
Meeeeow 2020-04-28 23:41:17 +08:00
parent 730c3471c2
commit 9e91d64513
2 changed files with 1 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
<link rel="icon" type="image/png" href="<%= htmlWebpackPlugin.options.verdaccioURL %>/-/static/favicon.ico" />
<link rel="icon" type="image/png" href="<%= htmlWebpackPlugin.options.verdaccioURL %>/-/mapped/favicon" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script>
window.__VERDACCIO_BASENAME_UI_OPTIONS = JSON.parse('<%= htmlWebpackPlugin.options.__UI_OPTIONS %>');

View File

@ -49,7 +49,6 @@ const prodConf = {
logo: 'ToReplaceByLogo',
primary_color: 'ToReplaceByPrimaryColor',
filename: 'index.html',
favicon: `${env.SRC_ROOT}/template/favicon.ico`,
verdaccioURL: 'ToReplaceByVerdaccio',
version_app: 'ToReplaceByVersion',
template: `${env.SRC_ROOT}/template/index.html`,