Open OlyAney opened 4 years ago
Did you find solution for this?
Did you find solution for this?
@jun-gh the way I've done this is I've created a script that does this:
reactSnap: { includes: [...] }
config in package.json
package.json
is beautiful once againI run this script before react-snap
is ran (which is postbuild) + on a pre-push hook to keep package.json
up to date
Hope this helps!
Is there other way to configure routes that'll be pre-rendered other than
package.json
? I want to pre-render the routes that come from CMS and I'm getting these routes on build time