stereobooster / react-snap

👻 Zero-configuration framework-agnostic static prerendering for SPAs
MIT License
5.05k stars 394 forks source link

Add exclude option (no new dependency added) #572

Open joananespina opened 1 year ago

joananespina commented 1 year ago

Description

Main reason why I added this was because I was generating a static build for a simple site, but for some reason it crawls a url with a different domain (localhost with different port). I would try and investigate the localhost issue, but having an exclude option will cover future problems as well.

Feel free to close, but so far tests are good. I will use the forked version for my use case right now, but having it in the main repo would be nicer.

Cheers!