Skip to content

Commit aacde37

Browse files
authored
Add startScript option to docs
1 parent a0dd265 commit aacde37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/homepage/content/docs/3-configuration.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ support these options:
3232
| `hardReloadOnChange` | Whether we should refresh the sandbox page on every change, good for sandboxes with global state | `true`/`false` | `false` |
3333
| `template` | Which sandbox template to use | [see here](https://github.com/codesandbox-app/codesandbox-importers/blob/master/packages/types/index.d.ts#L30-L54) | smart detection, w/ fallback to `create-react-app` |
3434
| `view` | Which view to show first in the preview | Client: `browser`/`console`/`problems`/`tests`<br />Container: `browser`/`console`/`problems`/`terminal` | `browser`
35-
| `container` | The container object contains the configurable port option, for example: `container: { port: 3212}` |
35+
| `container` | The container object contains the configurable port and/or startScript option, for example: `container: { port: 3212, startScript: "custom"}` |
3636
| `port` | The main port which the browser window listens to | 1024 - 65535 | First opened port inside the container. |
37+
| `startScript` | Explicitly specify the start script used in a container sandbox, overriding the default value | A String matching a script name defined under `scripts` in `package.json` | `dev` / `develop` / `serve` / `start` |

0 commit comments

Comments
 (0)