Skip to content

Commit 0195d51

Browse files
committed
Added favicon
1 parent a8f1e81 commit 0195d51

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

Diff for: dist/favicon.ico

66.1 KB
Binary file not shown.

Diff for: dist/index.html

+4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
<!DOCTYPE html>
22
<html>
3+
34
<head>
45
<title>FaveSound</title>
56
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
7+
<!-- <link rel="shortcut icon" href="./favicon.ico"> -->
68
</head>
9+
710
<body>
811
<div id="app"></div>
912
<script src="/bundle.js"></script>
1013
</body>
14+
1115
</html>

Diff for: webpack.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ module.exports = {
1818
{
1919
test: /\.scss$/,
2020
use: ['style-loader', 'css-loader', 'sass-loader']
21+
},
22+
{
23+
test: /\.(jpe?g|png|gif|ico)$/, loader: 'file-loader?name=[name].[ext]'
2124
}
2225
]
2326
},
@@ -47,7 +50,7 @@ module.exports = {
4750
'process.env': {
4851
NODE_ENV: '"development"'
4952
}
50-
})
53+
}),
5154
],
5255
devtool: 'source-map'
5356
};

0 commit comments

Comments
 (0)