Can you copy the code from next.config.ts in an existing pages router nextJS project to get this method to work?