You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/get-started/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ The above CLI command would be represented in config as follows -
119
119
__webpack.config.js__
120
120
```javascript
121
121
module.exports= {
122
-
entry:'./app/index.js'
122
+
entry:'./app/index.js',
123
123
output: {
124
124
filename:'bundle.js',
125
125
path:'./dist'
@@ -158,7 +158,7 @@ Given it's not particularly fun to run webpack from the CLI this way, we can set
158
158
}
159
159
```
160
160
161
-
You can now achieve the same as above by using `npm run build` command. npm picks up the scripts through it and patches the environment temporarily so that it contains the bin commands. You will see this convention a lot of projects out there.
161
+
You can now achieve the same as above by using `npm run build` command. npm picks up the scripts through it and patches the environment temporarily so that it contains the bin commands. You will see this convention in a lot of projects out there.
162
162
163
163
T> You can pass custom parameters to webpack by adding two dashes to the `npm run build` command, e.g. `npm run build -- --colors`.
0 commit comments