Changes: - Migrates `email` example project to `3.0` from `2.0` - Replaces `inline-css` dependency with `juice` package instead. - Replaces `Handlebars` dependency with `ejs` package instead. Reason for replacing packages: - Both `inline-css` & `Handlebars` had issues with Nextjs and its Webpack bundling i.e does not support `require.extensions`. - `ejs` & `juice` do not rely on `require.extensions`.
9 lines
194 B
JavaScript
9 lines
194 B
JavaScript
import { withPayload } from '@payloadcms/next/withPayload'
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// Your Next.js config here
|
|
}
|
|
|
|
export default withPayload(nextConfig)
|