From bff6b5dc8905d65f07ed1720d06ff0de6d6c6cc8 Mon Sep 17 00:00:00 2001 From: houmark Date: Sat, 1 Apr 2023 07:49:25 -0500 Subject: [PATCH] docs(pages/v2): fix typo in `serverBuildTarget` section (#5973) --- contributors.yml | 1 + docs/pages/v2.md | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/contributors.yml b/contributors.yml index 03fb1d01d9f..e9b0e6c65ee 100644 --- a/contributors.yml +++ b/contributors.yml @@ -182,6 +182,7 @@ - Holben888 - hollandThomas - Hopsken +- houmark - humphd - hzhu - IAmLuisJ diff --git a/docs/pages/v2.md b/docs/pages/v2.md index 37e3a490d06..3367943492e 100644 --- a/docs/pages/v2.md +++ b/docs/pages/v2.md @@ -605,7 +605,7 @@ module.exports = { module.exports = { publicPath: "/build/", serverBuildPath: "functions/[[path]].js", - serverConditions: "worker", + serverConditions: ["worker"], serverMainFields: ["browser", "module", "main"], serverModuleFormat: "esm", serverPlatform: "neutral", @@ -621,7 +621,7 @@ module.exports = { module.exports = { publicPath: "/build/", serverBuildPath: "build/index.js", - serverConditions: "worker", + serverConditions: ["worker"], serverMainFields: ["browser", "module", "main"], serverModuleFormat: "esm", serverPlatform: "neutral", @@ -637,7 +637,7 @@ module.exports = { module.exports = { publicPath: "/build/", serverBuildPath: "build/index.js", - serverConditions: "deno, worker", + serverConditions: ["deno", "worker"], serverMainFields: ["module", "main"], serverModuleFormat: "esm", serverPlatform: "neutral", @@ -653,7 +653,7 @@ module.exports = { module.exports = { publicPath: "/build/", serverBuildPath: ".netlify/functions-internal/server.js", - serverConditions: "deno, worker", + serverConditions: ["deno", "worker"], serverMainFields: ["main", "module"], serverModuleFormat: "cjs", serverPlatform: "node",