Skip to content

Commit a93f38a

Browse files
committed
docs: fixed grammar issue
1 parent 67ff4fa commit a93f38a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/content/configuration/target.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ contributors:
1212
- EugeneHlushko
1313
- smelukov
1414
- chenxsan
15+
- JamesHoran
1516
---
1617

1718
Webpack can compile for multiple environments or _targets_. To understand what a `target` is in detail, read through [the targets concept page](/concepts/targets/).
@@ -20,7 +21,7 @@ Webpack can compile for multiple environments or _targets_. To understand what a
2021

2122
`string` `[string]` `false`
2223

23-
Instructs webpack to generate runtime code for a specific environment. Note that webpack runtime code is not the same as the user code you write, you should transpile those code with transpilers like Babel if you want to target specific environments, e.g, you have arrow functions in source code and want to run the bundled code in ES5 environments. Webpack won't transpile them automatically with a `target` configured.
24+
Instructs webpack to generate runtime code for a specific environment. Note that webpack runtime code is not the same as the user code you write, you should transpile that code with transpilers like Babel if you want to target specific environments, e.g, you have arrow functions in source code and want to run the bundled code in ES5 environments. Webpack won't transpile them automatically with a `target` configured.
2425

2526
Defaults to `'browserslist'` or to `'web'` when no browserslist configuration was found.
2627

0 commit comments

Comments
 (0)