payloadcms blank init

This commit is contained in:
2025-10-08 14:21:29 -04:00
parent 0d96ac3ddd
commit b018742ebc
38 changed files with 3303 additions and 351 deletions

17
next.config.mjs Normal file
View File

@@ -0,0 +1,17 @@
import { withPayload } from '@payloadcms/next/withPayload'
/** @type {import('next').NextConfig} */
const nextConfig = {
// Your Next.js config here
webpack: (webpackConfig) => {
webpackConfig.resolve.extensionAlias = {
'.cjs': ['.cts', '.cjs'],
'.js': ['.ts', '.tsx', '.js', '.jsx'],
'.mjs': ['.mts', '.mjs'],
}
return webpackConfig
},
}
export default withPayload(nextConfig, { devBundleServerPackages: false })