Skip to content

Commit a066372

Browse files
committed
fix(docs): Some redundancy with "Inside of"
1 parent 459ec08 commit a066372

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

apps/docs/cli.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ Starts a local development server that will watch your files and automatically r
1515
Almost always you will need to have static files in your emails, and seeing
1616
them on the preview server without having to first host on a CDN is very helpful.
1717

18-
We do allow for this, and currently, you can place your files inside of a `static`
19-
directory inside of your `emails` directory.
18+
We do allow for this, and currently, you can place your files inside a `static`
19+
directory inside your `emails` directory.
2020

2121
This does adjust to your `--dir` option, so if your `emails` directory was inside
22-
of `./src/emails`, you would place your static files inside of `./src/emails/static`.
22+
`./src/emails`, you would place your static files inside `./src/emails/static`.
2323

2424
These static files are directly served from our preview server by looking into the
2525
requests made into that end with `/static` (i.e. `http://localhost:3000/static/...`) and serving the files at that point,
26-
this also allows for you to have images inside of your emails like so:
26+
this also allows for you to have images inside your emails like so:
2727

2828
```jsx
2929
export default Email(props) {
@@ -42,7 +42,7 @@ export default Email(props) {
4242
</Info>
4343

4444
Of curse, more often than not you will need to host your images on a CDN, so we recommend
45-
you change the `src` to the CDN's base url based on the environment like:
45+
you change the `src` to the CDN's base URL based on the environment like:
4646

4747
```jsx
4848
const baseURL = process.env.NODE_ENV === 'production'
@@ -107,7 +107,7 @@ we account for two heuristics to determine weather or not we should
107107
include it:
108108

109109
1. If file has `.js, .jsx or .tsx` file extensions
110-
2. If the file contains a `export default` expression by matching with the regex <br/>
110+
2. If the file contains a `export default` expression by matching with the regex<br/>
111111
`/\bexport\s*default\b/gm`
112112

113113
These can certainly fail as they are only heuristics, so if you do find
@@ -135,7 +135,7 @@ Copies the preview app for onto `.react-email` and builds it.
135135

136136
## `email start`
137137

138-
Runs the built preview app that is inside of `.react-email`.
138+
Runs the built preview app that is inside `.react-email`.
139139

140140
## `email export`
141141

0 commit comments

Comments
 (0)