diff --git a/src/content/guides/getting-started.mdx b/src/content/guides/getting-started.mdx index 1afec489e728..73c68da3b445 100644 --- a/src/content/guides/getting-started.mdx +++ b/src/content/guides/getting-started.mdx @@ -157,7 +157,7 @@ There are problems with managing JavaScript projects this way: - If a dependency is missing, or included in the wrong order, the application will not function properly. - If a dependency is included but not used, the browser will be forced to download unnecessary code. -Let's use webpack to manage these scripts instead. +Webpack solves these issues by explicitly declaring dependencies and bundling them together. This removes reliance on global variables and ensures scripts are executed in the correct order. ## Creating a Bundle @@ -182,7 +182,7 @@ To bundle the `lodash` dependency with `index.js`, we'll need to install the lib ```bash # npm -npm install --save lodash +npm install lodash # yarn yarn add lodash