// src/nextjs.ts
module.exports = function withCloud(nextConfig = {}) {
  return Object.assign({}, nextConfig, {
    experimental: {
      outputStandalone: true
    },
    webpack(config) {
      config.externals.push("@serverless/cloud");
      return config;
    }
  });
};
