Coder Social home page Coder Social logo

Comments (2)

swimmadude66 avatar swimmadude66 commented on June 2, 2024

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.

rowild avatar rowild commented on June 2, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.