From a93f38a4fbc37dd9cb75a1989c2e6c5cc95f3f9a Mon Sep 17 00:00:00 2001 From: James Horan Date: Thu, 24 Jul 2025 16:58:50 -0500 Subject: [PATCH] docs: fixed grammar issue --- src/content/configuration/target.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/configuration/target.mdx b/src/content/configuration/target.mdx index 98b5c66ac5ae..1ee614ffa4e7 100644 --- a/src/content/configuration/target.mdx +++ b/src/content/configuration/target.mdx @@ -12,6 +12,7 @@ contributors: - EugeneHlushko - smelukov - chenxsan + - JamesHoran --- 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 `string` `[string]` `false` -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. +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. Defaults to `'browserslist'` or to `'web'` when no browserslist configuration was found.