From 318ef0800094431090dc7394987c2d43baac8e9a Mon Sep 17 00:00:00 2001 From: a-sabagh Date: Sat, 21 Jan 2023 06:34:02 +0330 Subject: [PATCH] add favicon --- package.json | 1 + src/images/favicon.png | Bin 0 -> 4231 bytes webpack.config.js | 7 ++++++- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 src/images/favicon.png diff --git a/package.json b/package.json index af1057a..d95b1d1 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "@babel/preset-env": "^7.20.2", "babel-loader": "^9.1.2", "css-loader": "^6.7.3", + "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.0", "install": "^0.13.0", "mini-css-extract-plugin": "^2.7.2", diff --git a/src/images/favicon.png b/src/images/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..1c647355c3262c186e232b5b713066d951583801 GIT binary patch literal 4231 zcmV;25P0v2P)Ir`Tgyw=Ew7Thnjovj%=5>LUuezqSzq`iG;O6SEy~W~EV&Fwr>57xaU2gBCt>$um+5jf) znxo)KT&SF<(7(vnaevo4P^pog(6zq8XLio;j4OZhjQx7Wqk z8xGy!(5Y_M-Of!Wa$x!0^|tCn^1bom^=*`@e81ZpyOwQ`>JEgMmb+QJ&C?WuV7{DI zUCSg#`G#$|<6hTKY5dW;Y8{n3ff$ytxJ^k0hTEwL$S0pCDU9D)I5t209)?wY%XU@v zm&7t4@x*jq&ed_=8-nBSgjm*lb~^U&91DECJNfQ*aFzhiM8}U{jkEIA)y9&GC(b%? z&>1}|2#93dXAxNao`c)(0B@YojJFQ%pfT9hb6iD?39(hh6Std0!g8o8Ae8ZCnX-a+ zU(^h^gZr95f~z4QfODT_!0GoKP4R185o=8eLBLt0w;26rPglHiuO~v+f+6gev{dvr z3L%_RQOi-g2^0+Yf0K@ibD|vL;&9*8MRZ`AB?Jio<~EJB=x-1OG5MBqK)-nrjzWTT z*Vv3VUXX+XV!Yn@3ihXfi-zg87sxjt`Nmk)ht?vZx83o2HTQ3BZv4*bb?bUU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-9LQ;3(<1EON_7z1Yt@v54kMl2d*U||MqK1BVrV2pv95DxvQ zpBAfU5j7zk`O$bGLXsiZa5XQimLZONK3JEp^XJZv17*-l>phzXT%O!f%)kyyU8m7V+!>sf%)l$83SPot((1~uP_{p zcv;3kOsF?8jQ2B|yAm*_&>IQy(@Qc2!W7!K&k;YpAnn5@OmJ%wK61MpV<1eCpaOyU z=`8iRs{!5?Ci+4GeB^ei7HOC%65i~ENFq|rtlRHu!SMdhBufg(l`-=TW#`V4A_Ke%mMV%{1^i?VMmfk=q8Yd}ryVz%tD0gil-|&a?$Z ztYKzfKD-iYnCX$JP{RyA<1B2o$<&6zb(p0MM{s(bWEXy{w@2vm;002ovPDHLkV1hqX54ZpT literal 0 HcmV?d00001 diff --git a/webpack.config.js b/webpack.config.js index 9f1c2d5..1659db5 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -27,12 +27,17 @@ module.exports = { } } }, + { + test: /\.(png|jpg)$/i, + use: 'file-loader', + }, ] }, plugins: [ new HtmlWebpackPlugin({ - template: './src/index.html', title: 'Rock Paper Scissor', + favicon: './src/images/favicon.png', + template: './src/index.html', }), new MiniCssExtractPlugin(), ]