parcel-plugin-strip-index-html

0.1.2 • Public • Published

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

Package Sidebar

Install

npm i parcel-plugin-strip-index-html

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

3.02 kB

Total Files

6

Last publish

Collaborators

  • mkg20001