Skip to content

Commit 822e4d7

Browse files
add notes about typescript
1 parent 6525d6d commit 822e4d7

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,18 @@ TERM = "xterm"
5454
package = "netlify-plugin-cypress"
5555
```
5656

57-
See [netlify-plugin-cypress-example](https://github.com/cypress-io/netlify-plugin-cypress-example) repo
57+
See [netlify-plugin-cypress-example](https://github.com/cypress-io/netlify-plugin-cypress-example) repo.
58+
59+
Typescript users may need to add a `install` before the build command. For a yarn user with a typescript app, the build section of the Netlify configuration might look like this:
60+
61+
```toml
62+
[build]
63+
command = "yarn install && yarn build"
64+
publish = "build"
65+
66+
# ...remaining configuration...
67+
```
68+
5869

5970
### recording
6071

0 commit comments

Comments
 (0)