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

Commit

Permalink
[FE] chore: 캐시 버스팅 적용 (#447)
Browse files Browse the repository at this point in the history
chore: 캐시 버스팅 적용
  • Loading branch information
nangkyeonglim authored Sep 21, 2023
1 parent a8dbbdd commit 56d18a2
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 56d18a2

Please sign in to comment.