elmasse/nextein

Not merging with defaultPathMap?

IceOnFire opened this issue · 1 comments

I successfully followed step 3 of the tutorial, but when I export my static website all the routes that were previously auto-generated by Next are available no more, I have to re-declare them explicitly like so:

exportPathMap: defaultPathMap => ({
  ...defaultPathMap, // this doesn't even work
  '/blog': { page: '/blog' },
  '/about': { page: '/about' }, // this was auto-defined before using nextein
}),

I'm using next ^7.0.1 and nextein ^2.0.0.

That was fast, thank you! ^^