Skip to content

Commit a2abad3

Browse files
Merge pull request #2 from arechaithanya/docs/explain-webpack-purpose
docs: improve explanation of why webpack is used
2 parents e0c88fb + fb16fa8 commit a2abad3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/guides/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ There are problems with managing JavaScript projects this way:
157157
- If a dependency is missing, or included in the wrong order, the application will not function properly.
158158
- If a dependency is included but not used, the browser will be forced to download unnecessary code.
159159

160-
Let's use webpack to manage these scripts instead.
160+
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.
161161

162162
## Creating a Bundle
163163

0 commit comments

Comments
 (0)