Skip to content

Commit aa2ea7e

Browse files
authored
Merge pull request #1059 from kulakowka/patch-4
Update cli.md
2 parents f4f3739 + 24fc817 commit aa2ea7e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

content/api/cli.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,11 @@ If your project structure is as follows -
5050

5151
```bash
5252
webpack src/index.js dist/bundle.js
53-
This will bundle your source code with entry as `index.js` and the output bundle file will have a path of `dist` and the filename will be `bundle.js`
53+
```
54+
55+
This will bundle your source code with entry as `index.js` and the output bundle file will have a path of `dist` and the filename will be `bundle.js`
5456

57+
```bash
5558
| Asset | Size | Chunks | Chunk Names |
5659
|-----------|---------|-------------|-------------|
5760
| bundle.js | 1.54 kB | 0 [emitted] | index |
@@ -61,8 +64,11 @@ webpack src/index.js dist/bundle.js
6164

6265
```bash
6366
webpack index=./src/index.js entry2=./src/index2.js dist/bundle.js
64-
This will form the bundle with both the files as separate entry points.
67+
```
68+
69+
This will form the bundle with both the files as separate entry points.
6570

71+
```bash
6672
| Asset | Size | Chunks | Chunk Names |
6773
|-----------|---------|---------------|---------------|
6874
| bundle.js | 1.55 kB | 0,1 [emitted] | index, entry2 |

0 commit comments

Comments
 (0)