Skip to content

Commit

Permalink
fix: favicon webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
2-one-week committed Dec 14, 2020
1 parent 3b215fc commit aa48369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes
4 changes: 2 additions & 2 deletions client/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = {
},

output: {
filename: 'main.js',
filename: 'main.[hash].js',
path: path.join(__dirname, 'dist'),
publicPath: '/',
},
Expand All @@ -62,7 +62,7 @@ module.exports = {
new HtmlWebpackPlugin({
template: './public/index.html',
path: path.resolve(__dirname, './dist'),
favicon: './public/favicon.ico',
favicon: 'favicon.png',
filename: 'index.html',
}),
new Dotenv(),
Expand Down

0 comments on commit aa48369

Please sign in to comment.