Skip to content

Commit 3c88cbc

Browse files
authored
Merge pull request #41 from xsnippet/favicon
Add favicon to xsnippet
2 parents 014ed76 + f8f3140 commit 3c88cbc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/assets/favicon.ico

14.7 KB
Binary file not shown.

webpack.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@ module.exports = () => {
103103

104104
// Generate index.html based on passed template, populating it with
105105
// produced JavaScript bundles.
106-
new HtmlWebpackPlugin({ template: path.resolve(__dirname, 'src', 'index.html') }),
106+
new HtmlWebpackPlugin({
107+
template: path.resolve(__dirname, 'src', 'index.html'),
108+
favicon: path.resolve(__dirname, 'src', 'assets', 'favicon.ico'),
109+
}),
107110

108111
// Extract third party libraries into 'vendors' bundle. Unfortunately
109112
// this splitting can't help us to preserve the same hash for vendors if

0 commit comments

Comments
 (0)