I have multiple scully configurations:
scully.en.config.ts
scully.de.config.ts
The scully config has a extraRoutes fields which is same for all the configs. I want to put the extraRoutes in a new file extraRoutes.ts
.
export const extraRoutes = [
'/',
'/about', etc...
]
And importing that file in configs
import { extraRoutes } from './extraRoutes';
But I am getting Error: Cannot find module './extraRoutes'
while I try to run npx scully --project en
.