Compare commits

...

4 Commits

Author SHA1 Message Date
Juan Picado
f1dd3bb378
Merge branch 'master' into feat/custom-favicon 2020-05-02 22:45:08 +02:00
Juan Picado
462c287e2e
Merge branch 'master' into feat/custom-favicon 2020-05-02 07:57:24 +02:00
Priscila Oliveira
985cdb3df0
Merge branch 'master' into feat/custom-favicon 2020-05-01 17:23:41 +02:00
Meeeeow
9e91d64513 feat: custom favicon 2020-04-28 23:41:17 +08:00
2 changed files with 1 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<title> <title>
<%= htmlWebpackPlugin.options.title %> <%= htmlWebpackPlugin.options.title %>
</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" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<script> <script>
window.__VERDACCIO_BASENAME_UI_OPTIONS = JSON.parse('<%= htmlWebpackPlugin.options.__UI_OPTIONS %>'); window.__VERDACCIO_BASENAME_UI_OPTIONS = JSON.parse('<%= htmlWebpackPlugin.options.__UI_OPTIONS %>');

View File

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