From 22cc956611f0188391771b4e2a9a02d781304dda Mon Sep 17 00:00:00 2001 From: Hrishikesh Vaipurkar Date: Mon, 24 Jun 2024 16:17:18 +0200 Subject: [PATCH] feat: WEB-210 reverted plugin nextjs to previous version --- netlify.toml | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/netlify.toml b/netlify.toml index f904f5e1e..f5f0c0e3a 100644 --- a/netlify.toml +++ b/netlify.toml @@ -4,8 +4,6 @@ publish = ".next" [context.branch-deploy] command = "npm run lint && npm run build" -[context.branch-deploy.environment] -NODE_OPTIONS = "--openssl-legacy-provider" [context.deploy-preview] command = "npm run lint && npm run build" @@ -24,6 +22,7 @@ wait-on-timeout = "30" # seconds # cache Cypress binary in local "node_modules" folder # so Netlify caches it CYPRESS_CACHE_FOLDER = "./node_modules/CypressBinary" +NODE_OPTIONS = "--openssl-legacy-provider" # set TERM variable for terminal output TERM = "xterm" diff --git a/package.json b/package.json index b8906c617..20d9d62e2 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@contentstack/live-preview-utils": "^1.4.0", "@hookform/error-message": "^2.0.1", "@hookform/resolvers": "^3.3.4", - "@netlify/plugin-nextjs": "^5.3.3", + "@netlify/plugin-nextjs": "^5.1.1", "@radix-ui/react-slot": "^1.0.2", "@scandic-hotels/design-system": "git+https://x-token-auth:$DESIGN_SYSTEM_ACCESS_TOKEN@bitbucket.org/scandic-swap/design-system.git#v0.1.0-rc.8", "@t3-oss/env-nextjs": "^0.9.2",