Skip to content

Commit 99c5092

Browse files
authored
Update configuration.md
Fix the simplest configuration so it actually runs.
1 parent eb7e885 commit 99c5092

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/concepts/configuration.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ The following examples below describe how webpack's configuration object can be
3030
**webpack.config.js**
3131

3232
```javascript
33+
var path = require('path');
34+
3335
module.exports = {
3436
entry: './foo.js',
3537
output: {
@@ -180,4 +182,4 @@ export default (
180182
</plugins>
181183
</webpack>
182184
);
183-
```
185+
```

0 commit comments

Comments
 (0)