webpack-clean-obsolete-chunks icon indicating copy to clipboard operation
webpack-clean-obsolete-chunks copied to clipboard

A webpack plugin to remove obsolete chunk files in webpack watch mode

Results 6 webpack-clean-obsolete-chunks issues
Sort by recently updated
recently updated
newest added

Webpack 5 deprecated chunks array in favour of object. ```js */51 > /* let chunks = compilation.chunks.map(chunk => { const copy = Object.assign({}, chunk) copy.uniqueId = `${compilationName}--${copy.id}` return copy })...

Hello How should your plugin work if the file is locked by an IDE or something else? `Error: EBUSY: resource busy or locked, unlink 'D:\project\js\bundle-fbc906.js'` It should not crash the...

[worker-loader](https://www.npmjs.com/package/worker-loader) with the documentation example webpack config generates `*.worker.js` files, but the old ones get not cleaned.

Here is my config. ``` mix.setPublicPath('static') mix.webpackConfig({ resolve: { alias: { '@root': __dirname, '@common': path.resolve(__dirname, 'resources/assets/js/components/common'), } }, output: { chunkFilename: 'js/chunks/[name].[hash:10].js', publicPath: '../../' }, plugins: [ new CleanObsoleteChunks({ //...

I have a rule in my webpack config to extract html pages into files with a hash within filename: `{ test: /\.html$/, use: ['file-loader', 'extract-loader', 'html-loader'] }` Unfortunately the obsolete...

My use case involves building multiple entries to be able to run Jest tests in parallel. I'm using [`wildcards-entry-webpack-plugin`](https://github.com/8427003/wildcards-entry-webpack-plugin) to monitor any newly added test files in watch mode and...