Skip to content

Commit d6e20d5

Browse files
committed
chore: webpack 설정 변경 시 캐시 무효화를 위한 의존성 추가
1 parent 061b303 commit d6e20d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/config/webpack.common.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
88
const configuration: webpack.Configuration = {
99
cache: {
1010
type: 'filesystem',
11+
buildDependencies: {
12+
config: [__filename], // webpack 설정 파일이 바뀌면 캐시 무효화
13+
},
1114
},
1215
resolve: {
1316
extensions: ['.ts', '.tsx', '.js', '.jsx'],

0 commit comments

Comments
 (0)