Commit cbb4123b authored by Keyan Zhang's avatar Keyan Zhang Committed by Dan Abramov
Browse files

added favicon (#70)

parent b1ce4598
No related merge requests found
Showing with 2 additions and 0 deletions
+2 -0
......@@ -91,6 +91,7 @@ module.exports = {
new HtmlWebpackPlugin({
inject: true,
template: indexHtmlPath,
favicon: path.join(srcPath, 'favicon.ico'),
}),
new webpack.DefinePlugin({ 'process.env.NODE_ENV': '"development"' }),
// Note: only CSS is currently hot reloaded
......
......@@ -92,6 +92,7 @@ module.exports = {
new HtmlWebpackPlugin({
inject: true,
template: indexHtmlPath,
favicon: path.join(srcPath, 'favicon.ico'),
minify: {
removeComments: true,
collapseWhitespace: true,
......
template/src/favicon.ico

24.3 KB

Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment