Skip to content

Commit

Permalink
Fix comment on default for serverModuleFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
ngbrown committed Sep 25, 2023
1 parent 94695c3 commit c8d26ef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/start/v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ module.exports = {
serverBuildPath: "server/index.js",
serverMainFields: ["main", "module"], // default value, can be removed
serverMinify: false, // default value, can be removed
serverModuleFormat: "cjs", // default value, can be removed
serverModuleFormat: "cjs",
serverPlatform: "node", // default value, can be removed
};
```
Expand All @@ -774,7 +774,7 @@ module.exports = {
serverDependenciesToBundle: "all",
serverMainFields: ["browser", "module", "main"],
serverMinify: true,
serverModuleFormat: "esm",
serverModuleFormat: "esm", // default value, can be removed
serverPlatform: "neutral",
};
```
Expand All @@ -790,7 +790,7 @@ module.exports = {
serverDependenciesToBundle: "all",
serverMainFields: ["browser", "module", "main"],
serverMinify: true,
serverModuleFormat: "esm",
serverModuleFormat: "esm", // default value, can be removed
serverPlatform: "neutral",
};
```
Expand All @@ -806,7 +806,7 @@ module.exports = {
serverDependenciesToBundle: "all",
serverMainFields: ["module", "main"],
serverMinify: false, // default value, can be removed
serverModuleFormat: "esm",
serverModuleFormat: "esm", // default value, can be removed
serverPlatform: "neutral",
};
```
Expand All @@ -820,7 +820,7 @@ module.exports = {
serverBuildPath: "build/index.js", // default value, can be removed
serverMainFields: ["main", "module"], // default value, can be removed
serverMinify: false, // default value, can be removed
serverModuleFormat: "cjs", // default value, can be removed
serverModuleFormat: "cjs",
serverPlatform: "node", // default value, can be removed
};
```
Expand Down

0 comments on commit c8d26ef

Please sign in to comment.