Skip to content

Commit 3d3ab97

Browse files
plug-n-playskipjack
authored andcommitted
docs(guides): update output to webpack 3.9.1 (#1724)
1 parent e911daf commit 3d3ab97

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

src/content/guides/getting-started.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,15 @@ With that said, let's run `npx webpack` with our script as the [entry point](/co
146146
``` bash
147147
npx webpack src/index.js dist/bundle.js
148148

149-
Hash: ff6c1d39b26f89b3b7bb
150-
Version: webpack 2.2.0
151-
Time: 385ms
149+
Hash: 857f878815ce63ad5b4f
150+
Version: webpack 3.9.1
151+
Time: 332ms
152152
Asset Size Chunks Chunk Names
153153
bundle.js 544 kB 0 [emitted] [big] main
154-
[0] ./~/lodash/lodash.js 540 kB {0} [built]
155-
[1] (webpack)/buildin/global.js 509 bytes {0} [built]
156-
[2] (webpack)/buildin/module.js 517 bytes {0} [built]
157-
[3] ./src/index.js 278 bytes {0} [built]
154+
[0] ./src/index.js 222 bytes {0} [built]
155+
[2] (webpack)/buildin/global.js 509 bytes {0} [built]
156+
[3] (webpack)/buildin/module.js 517 bytes {0} [built]
157+
+ 1 hidden module
158158
```
159159

160160
T> Your output may vary a bit, but if the build is successful then you are good to go.
@@ -206,15 +206,15 @@ Now, let's run the build again but instead using our new configuration:
206206
``` bash
207207
npx webpack --config webpack.config.js
208208

209-
Hash: ff6c1d39b26f89b3b7bb
210-
Version: webpack 2.2.0
211-
Time: 390ms
209+
Hash: 857f878815ce63ad5b4f
210+
Version: webpack 3.9.1
211+
Time: 298ms
212212
Asset Size Chunks Chunk Names
213213
bundle.js 544 kB 0 [emitted] [big] main
214-
[0] ./~/lodash/lodash.js 540 kB {0} [built]
215-
[1] (webpack)/buildin/global.js 509 bytes {0} [built]
216-
[2] (webpack)/buildin/module.js 517 bytes {0} [built]
217-
[3] ./src/index.js 278 bytes {0} [built]
214+
[0] ./src/index.js 222 bytes {0} [built]
215+
[2] (webpack)/buildin/global.js 509 bytes {0} [built]
216+
[3] (webpack)/buildin/module.js 517 bytes {0} [built]
217+
+ 1 hidden module
218218
```
219219

220220
W> Note that when calling `webpack` via its path on windows, you must use backslashes instead, e.g. `node_modules\.bin\webpack --config webpack.config.js`.
@@ -247,15 +247,15 @@ Now run the following command and see if your script alias works:
247247
``` bash
248248
npm run build
249249

250-
Hash: ff6c1d39b26f89b3b7bb
251-
Version: webpack 2.2.0
252-
Time: 390ms
250+
Hash: 857f878815ce63ad5b4f
251+
Version: webpack 3.9.1
252+
Time: 294ms
253253
Asset Size Chunks Chunk Names
254254
bundle.js 544 kB 0 [emitted] [big] main
255-
[0] ./~/lodash/lodash.js 540 kB {0} [built]
256-
[1] (webpack)/buildin/global.js 509 bytes {0} [built]
257-
[2] (webpack)/buildin/module.js 517 bytes {0} [built]
258-
[3] ./src/index.js 278 bytes {0} [built]
255+
[0] ./src/index.js 222 bytes {0} [built]
256+
[2] (webpack)/buildin/global.js 509 bytes {0} [built]
257+
[3] (webpack)/buildin/module.js 517 bytes {0} [built]
258+
+ 1 hidden module
259259
```
260260

261261
T> Custom parameters can be passed to webpack by adding two dashes between the `npm run build` command and your parameters, e.g. `npm run build -- --colors`.

0 commit comments

Comments
 (0)