import { withPayload } from "@payloadcms/next/withPayload"; import type { NextConfig } from "next"; const nextConfig: NextConfig = { /* config options here */ // webpack: (config, options) => { // config.module.rules.push({ // test: require.resolve("wowjs/dist/wow.js"), // use: [ // { // loader: "exports-loader", // options: { // exports: "this.WOW", // }, // }, // ], // }); // return config; // }, }; export default withPayload(nextConfig);