Comments (2)
Unfortunately, plugins which allow webpack to remove certain output files seem not to last very long. The last one I knew of (https://github.com/AnujRNair/webpack-extraneous-file-cleanup-plugin) has some people reporting that it no longer works as of webpack 4.
However, since they are empty files, they tend not to take up much space. As far as clean up, I'd recommend either using rimraf with a prebiuld
step to cleanup the dist folder on each build, or a webpack plugin like the clean-webpack-plugin to nuke the output entirely before each build.
from html-webpack-skip-assets-plugin.
Thank you! But I only want to delete the empty files, which are actually generated usually after a prebuild or a "nuke" as you put it :-). They will still be upoaded to a server, where there was no "nuke" and mess up the file structure.
I will think about another solution, when I use the plugin again.
Have a good night!
from html-webpack-skip-assets-plugin.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html-webpack-skip-assets-plugin.