I have a very simple project set up to use Parcel as the bundler. It's just the basic example from their Getting Started guide.
For a single build everything works fine but I noticed that for every build the javascript code is compiled under a new hash. This can result in multiple JS hashes being created in the dist/ directory. Is there a way to clear everything from dist/ before every build so that it only contains the latest code?