Skip to content

Commit 387175e

Browse files
authored
Merge pull request #485 from alberto/patch-1
Add path module to examples
2 parents 19a822d + 57c154b commit 387175e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/concepts/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Once you've bundled all of your assets together, we still need to tell webpack *
3838
**webpack.config.js**
3939

4040
```javascript
41+
var path = require('path');
42+
4143
module.exports = {
4244
entry: './path/to/my/entry/file.js',
4345
output: {
@@ -70,6 +72,8 @@ At a high level, they have two purposes in your webpack config.
7072
**webpack.config.js**
7173

7274
```javascript
75+
var path = require('path');
76+
7377
const config = {
7478
entry: './path/to/my/entry/file.js',
7579
output: {

0 commit comments

Comments
 (0)