Skip to content

Commit 3e07f32

Browse files
committed
Fixing code snippet for production build guide.
1 parent fe55b3d commit 3e07f32

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/guides/production-build.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ contributors:
88
- simon04
99
- kisnows
1010
- chrisVillanueva
11+
- swapnilmishra
1112
---
1213

1314
This page explains how to generate production builds with webpack.
@@ -134,7 +135,7 @@ function buildConfig(env) {
134135
return require('./config/' + env + '.js')({ env: env })
135136
}
136137

137-
module.exports = buildConfig(env);
138+
module.exports = buildConfig;
138139
```
139140
And from our package.json, where we build our application using webpack, the command goes like this:
140141
```js

0 commit comments

Comments
 (0)