반응형
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
- e2e
- vue-cli
- SSR
- JavaScript
- Testing
- custom command
- import.meta.env
- 선택자
- ViTE
- api test
- Cypress
- devtools
- http3
- https
- CSS
- svelte
- ts error
- aws
- QUIC
- caching
- csr
- CloudFlare
- vue
- web vital
- msw
- 비동기
- vue3
- typeScript
- rendering
- TLS
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