We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 678dcb3 commit 0f321e8Copy full SHA for 0f321e8
src/content/index.md
@@ -6,7 +6,7 @@ title: webpack
6
7
<div class="splash__wrap">
8
<div class="splash__left">
9
-__app.js__
+__src/app.js__
10
11
```js
12
import bar from './bar';
@@ -15,7 +15,7 @@ bar();
15
```
16
</div>
17
<div class="splash__right">
18
-__bar.js__
+__src/bar.js__
19
20
21
export default function bar() {
@@ -34,7 +34,7 @@ Without config or provide custom __webpack.config.js__
34
35
36
module.exports = {
37
- entry: './app.js',
+ entry: './src/app.js',
38
output: {
39
filename: 'bundle.js'
40
}
@@ -52,7 +52,7 @@ __page.html__
52
</head>
53
<body>
54
...
55
- <script src="bundle.js"></script>
+ <script src="dist/bundle.js"></script>
56
</body>
57
</html>
58
0 commit comments