Strips /index.html from URLs in parcel builds
It turns stuff like this
<a href="/my-page/index.html"></a>
...into stuff like this
<a href="/my-page/"></a>
NOTE: Automatic stripping is only done when HMR is disabled, since this otherwise breaks the URLs
Add parcel-transformer-strip-index-html as a transformer for parcel by adding this to your .parcelrc
{
"transforms": {
"*.html": [
"parcel-transformer-strip-index-html"
]
}
}