Skip to content

Commit 8b13724

Browse files
bingtimrenmontogeek
authored andcommitted
docs(guides): Correct a path error in getting started example (#1899)
* correct a path error in example
1 parent e1029fc commit 8b13724

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/content/guides/asset-management.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ contributors:
66
- michael-ciniawsky
77
- TheDutchCoder
88
- sudarsangp
9+
- chenxsan
910
---
1011

1112
If you've been following the guides from the start, you will now have a small project that shows "Hello webpack". Now let's try to incorporate some other assets, like images, to see how they can be handled.
@@ -325,7 +326,7 @@ __project__
325326
|- /node_modules
326327
```
327328

328-
With the loader configured and fonts in place, you can use incorporate them via an `@font-face` declaration. The local `url(...)` directive will be picked up by webpack just as it was with the image:
329+
With the loader configured and fonts in place, you can incorporate them via an `@font-face` declaration. The local `url(...)` directive will be picked up by webpack just as it was with the image:
329330

330331
__src/style.css__
331332

src/content/guides/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ __dist/index.html__
167167
</head>
168168
<body>
169169
- <script src="./src/index.js"></script>
170-
+ <script src="bundle.js"></script>
170+
+ <script src="dist/bundle.js"></script>
171171
</body>
172172
</html>
173173
```

0 commit comments

Comments
 (0)