parcel-plugin-strip-index-html
Strips /index.html from URLs in parcel builds
=>
NOTE: Automatic stripping is only done when HMR is disabled (aka when building for production)
Usage
parcel
$ npm i -D parcel-plugin-strip-index-html
And that should do it!
other
$ npm i -g parcel-plugin-strip-index-html$ strip-index-html /path/to/outputDir