반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- svelte
- import.meta.env
- TLS
- ViTE
- Cypress
- ts error
- csr
- custom command
- web vital
- QUIC
- https
- CSS
- vue3
- 선택자
- CloudFlare
- api test
- SSR
- devtools
- aws
- typeScript
- rendering
- caching
- vue
- 비동기
- vue-cli
- JavaScript
- msw
- Testing
- e2e
- http3
Archives
- Today
- Total
목록chunk hash (1)
Develop Note by J.S.
[Vue-cli] 빌드 배포 시 Chunk 캐시 (with. Chunk Hash)
배포 시 남아있는 Cache로 인해 각 chunk 파일들이 cache된 파일을 다운받아 즉각적으로 수정내용이 반영되지 않아 보이는 경우에는 Output 파일에 hash값을 추가하면 해결 할 수 있습니다. module.exports = { configureWebpack: (config) => { config.output.filename = 'js/[name].[chunkhash].js'; config.output.chunkFilename = 'js/[name].[chunkhash].js'; }, }
FrontEnd/Vite&Vue-cli
2023. 7. 28. 14:36