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

[FE] chore: 캐시 버스팅 적용 #447

Merged
merged 1 commit into from
Sep 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading