Skip to content

Commit

Permalink
refactor: favicon 설정 #278
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgksqkr committed Sep 21, 2024
1 parent 6a8325d commit 69fcab6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file added frontend/public/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions frontend/index.html → frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="description" content="심심풀이 땅콩처럼 가벼운 주제로 친구들과 즐기는 단체 대화주제 제공 서비스">
<title>땅콩 - 밸런스 게임 및 대화주제 제공 서비스</title>


<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin />

<link rel="preload" as="style" crossorigin
Expand Down
5 changes: 3 additions & 2 deletions frontend/webpack.config.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ module.exports = {
},
plugins: [
new HTMLWebpackPlugin({
template: './index.html', // 읽을 파일명
filename: './index.html', // output으로 출력할 파일명
template: path.join(__dirname, './public/index.html'),
hash: true,
favicon: path.join(__dirname, './public/favicon.ico'),
}),
new webpack.DefinePlugin({
'process.env': JSON.stringify(process.env),
Expand Down

0 comments on commit 69fcab6

Please sign in to comment.