add pageExtensions config

This commit is contained in:
秦秋旭 2023-02-28 20:41:48 +08:00
parent 375e1ab4e5
commit a794567369
5 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
pageExtensions: ['page.tsx', 'page.ts', 'page.jsx', 'page.js'],
async rewrites() {
return [
{