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.
2 parents fe55b3d + 4a5e713 commit ad6cc12Copy full SHA for ad6cc12
content/guides/production-build.md
@@ -8,6 +8,7 @@ contributors:
8
- simon04
9
- kisnows
10
- chrisVillanueva
11
+ - swapnilmishra
12
---
13
14
This page explains how to generate production builds with webpack.
@@ -128,13 +129,13 @@ module.exports = function (env) {
128
129
}
130
131
```
-Have the following snippet in our webpack.config.js:
132
+Have the following snippet in your webpack.config.js:
133
```js
134
function buildConfig(env) {
135
return require('./config/' + env + '.js')({ env: env })
136
137
-module.exports = buildConfig(env);
138
+module.exports = buildConfig;
139
140
And from our package.json, where we build our application using webpack, the command goes like this:
141
0 commit comments