not clean old versioned file if using lazy load
See original GitHub issueif I use lazy load in Vue like
'component': () => System.import('./component.vue')
webpack will generate app.xxxxxx.js
and 0.yyyyyy.js
(chunk file)
when webpack build next time, it will remove app.xxxxxx.js
, generate new app.zzzzzz.js
and 0.aaaaaa.js
, but not removing old 0.yyyyyy.js
file.
since laravel-mix can remove app.xxxxxx.js
file, I’d like to know if it’s possible to remove old chunked js file as well?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Lazy Loading Images – The Complete Guide - ImageKit.io
Everything about Image Lazy loading - what is it, why is it important, how to implement lazy loading of images and the best...
Read more >Lazy loading video - web.dev
This post explains lazy loading and the options available to you when lazy loading video.
Read more >A Deep Dive into Native Lazy-Loading for Images and Frames
This way, it's possible to load a tiny file size, low-quality image file on page load and later replace it with a full-sized...
Read more >How to overcome loading chunk failed with Angular lazy ...
You use global error handling and force app to reload if chunks failed. import {ErrorHandler, Injectable} from '@angular/core'; @Injectable ...
Read more >verlok/vanilla-lazyload - GitHub
LazyLoad is a lightweight, flexible script that speeds up your website by deferring the loading of your below-the-fold images, backgrounds, videos, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I am experiencing the same issue and I’m on the latest version of Mix. My old chunk files are not removed. This is in my mix config:
.webpackConfig({ output: { publicPath: "/", chunkFilename: "js/[name]-[hash].js" } })
Thanks.
Still having this issue