Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
chore: 캐시 버스팅 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
nangkyeonglim committed Sep 21, 2023
1 parent 2cf8ce2 commit 51cf53f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
test: /\.(png|webp|avif)$/i,
type: 'asset',
generator: {
filename: 'static/[name][ext]',
filename: 'static/[name].[contenthash][ext]',
},
},
{
Expand Down Expand Up @@ -50,7 +50,7 @@ module.exports = {
},
},
output: {
filename: 'bundle.js',
filename: '[name].[contenthash].bundle.js',
path: path.resolve(__dirname, 'dist'),
clean: true,
publicPath: '/',
Expand Down

0 comments on commit 51cf53f

Please sign in to comment.