Skip to content

Commit 0f321e8

Browse files
committed
content(homepage) Correct examples to match defaults
1 parent 678dcb3 commit 0f321e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: webpack
66

77
<div class="splash__wrap">
88
<div class="splash__left">
9-
__app.js__
9+
__src/app.js__
1010

1111
```js
1212
import bar from './bar';
@@ -15,7 +15,7 @@ bar();
1515
```
1616
</div>
1717
<div class="splash__right">
18-
__bar.js__
18+
__src/bar.js__
1919

2020
```js
2121
export default function bar() {
@@ -34,7 +34,7 @@ Without config or provide custom __webpack.config.js__
3434

3535
```js
3636
module.exports = {
37-
entry: './app.js',
37+
entry: './src/app.js',
3838
output: {
3939
filename: 'bundle.js'
4040
}
@@ -52,7 +52,7 @@ __page.html__
5252
</head>
5353
<body>
5454
...
55-
<script src="bundle.js"></script>
55+
<script src="dist/bundle.js"></script>
5656
</body>
5757
</html>
5858
```

0 commit comments

Comments
 (0)