Skip to content

Commit 291e053

Browse files
Copilotfi3ework
andcommitted
Fix additional grammar errors: passive voice and missing articles
Co-authored-by: fi3ework <[email protected]>
1 parent 50840c2 commit 291e053

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

website/docs/en/config/lib/bundle.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We should specify the entry file for the build.
1313

1414
### bundle: true
1515

16-
When `bundle` is set to `true`, the entry should be set to the entry file. The default entry in bundle mode is `src/index.(ts|js|tsx|jsx|mjs|cjs)`. You should make sure that the entry file exists, or customize entry through the [source.entry](https://rsbuild.rs/config/source/entry) configuration.
16+
When `bundle` is set to `true`, the entry should be set to the entry file. The default entry in bundle mode is `src/index.(ts|js|tsx|jsx|mjs|cjs)`. You should make sure that the entry file exists, or customize the entry through the [source.entry](https://rsbuild.rs/config/source/entry) configuration.
1717

1818
**Example:**
1919

website/docs/en/config/lib/out-base.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ dist
5353

5454
::: tip
5555

56-
When the project needs to generate declaration files, to ensure that the generated declaration files and JS files maintain a consistent output directory structure, if you modify the `outBase` configuration, you need to make sure that the [rootDir](https://www.typescriptlang.org/tsconfig/rootDir.html) in `tsconfig.json` to the same path.
56+
When the project needs to generate declaration files, to ensure that the generated declaration files and JS files maintain a consistent output directory structure, if you modify the `outBase` configuration, you need to make sure that the [rootDir](https://www.typescriptlang.org/tsconfig/rootDir.html) in `tsconfig.json` is set to the same path.
5757

5858
:::

website/docs/en/config/lib/shims.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Options:
7676
);
7777
```
7878
79-
- `false`: the `import.meta.url` will be leave as is, which will cause a runtime error when running the output.
79+
- `false`: the `import.meta.url` will be left as is, which will cause a runtime error when running the output.
8080
8181
## shims.esm
8282
@@ -110,7 +110,7 @@ Options:
110110
console.log(src_filename);
111111
```
112112
113-
- `false`: the `__filename` will be leave as is, which will cause a runtime error when running the output.
113+
- `false`: the `__filename` will be left as is, which will cause a runtime error when running the output.
114114
115115
### shims.esm.\_\_dirname
116116
@@ -139,7 +139,7 @@ Options:
139139
console.log(src_dirname);
140140
```
141141
142-
- `false`: the `__dirname` will be leave as is, which will cause a runtime error when running the output.
142+
- `false`: the `__dirname` will be left as is, which will cause a runtime error when running the output.
143143
144144
### shims.esm.require
145145
@@ -149,7 +149,7 @@ Whether to inject shims for the global `require` of CommonJS in ESM output.
149149
150150
Options:
151151
152-
- `true`: when [format](/config/lib/format) is `esm`, there will be a `require` that created by `createRequire` at the beginning of the output which can be accessed in source code like the global `require` like CommonJS.
152+
- `true`: when [format](/config/lib/format) is `esm`, there will be a `require` that is created by `createRequire` at the beginning of the output which can be accessed in source code like the global `require` like CommonJS.
153153
154154
For example, given the following source code:
155155
@@ -181,4 +181,4 @@ Options:
181181
lazyFn('./other.js', require);
182182
```
183183
184-
- `false`: the `require` will be leave as is, which will cause a runtime error when running the output.
184+
- `false`: the `require` will be left as is, which will cause a runtime error when running the output.

0 commit comments

Comments
 (0)