Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Commit d346d2c

Browse files
committed
Add favicon
1 parent f0971f0 commit d346d2c

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

app/favicon.ico

14.7 KB
Binary file not shown.

index.ejs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
<head>
88
<meta charset="utf-8">
99
<title><%= htmlWebpackPlugin.options.title %></title>
10-
<% if (htmlWebpackPlugin.files.favicon) { %>
11-
<link rel="shortcut icon" href="<%= htmlWebpackPlugin.files.favicon%>">
12-
<% } %>
1310
</head>
1411
<body>
1512
<% if (htmlWebpackPlugin.options.appMountId) { %>

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ const common = {
9696
template: 'index.ejs',
9797
title: pkg.name,
9898
version: VERSION.substring(0, 7),
99+
favicon: 'app/favicon.ico',
99100
appMountId: 'root'
100101
})
101102
]

0 commit comments

Comments
 (0)