sPavl0v / react-spa-prenderer

MIT License
34 stars 17 forks source link

index.html build error #3

Closed satoshi-soya closed 3 years ago

satoshi-soya commented 3 years ago

On line 52, route ==='/'?'Index': route; Will build / into /buildindex.html, and expect /build/index.html. Do you need to change the above code 'index' to '/index'?

sPavl0v commented 3 years ago

Hi @satoshi-soya, thanks for catching that! It looks like script creates redundant buildindex.html file in root directory along with index.htnl file in build directory. I will launch the fix in the new version, it should come in next 2-3 days.

satoshi-soya commented 3 years ago

Ok thanks, awesome

sPavl0v commented 3 years ago

The fix available in version 1.0.11