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 a8dbbdd commit a766f83
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 a766f83

Please sign in to comment.