0.1.2 • Published 5 years ago

parcel-plugin-strip-index-html v0.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

parcel-plugin-strip-index-html

Strips /index.html from URLs in parcel builds

<a href="/my-page/index.html">

=>

<a href="/my-page/">

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