Skip to content

NextJS throws minified errors in SST console #68

@prakharadgale-creator

Description

@prakharadgale-creator
Image

⚙️ Deployment Configuration

const portal = new sst.aws.Nextjs("portal", {
  path: "apps/portal",
  domain: getDomain("portal"),
  link: [
    devRedis,
  ],
  vpc,
  server: {
    memory: "6144 MB",
    timeout: "120 seconds",
  },
  transform: {
    server: (args) => {
      args.nodejs = {
        ...((args.nodejs as any) ?? {}),
        sourcemap: true,
      };
    },
    cdn: (args) => {
      args.wait = false;
    },
  },
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions