Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phfaist/parcel-optimizer-nohtmlsuffix

parcel plugin - Remove .html suffixes from internal links in generated HTML pages
https://github.com/phfaist/parcel-optimizer-nohtmlsuffix

Last synced: about 2 months ago
JSON representation

parcel plugin - Remove .html suffixes from internal links in generated HTML pages

Awesome Lists containing this project

README

        

# parcel-optimizer-nohtmlsuffix

Simple parcel plugin to remove .html suffixes from internal links in generated HTML pages.

Adapted from https://github.com/vseventer/parcel-optimizer-friendly-urls -- thanks!

Minmial use:
```
yarn add https://github.com/phfaist/parcel-optimizer-nohtmlsuffix.git
```

Create or modify `.parcelrc` to include:
```
{
"extends": "@parcel/config-default",
"optimizers": {
"*.html": ["parcel-optimizer-nohtmlsuffix", "..."]
}
}
```

That's it!