Skip to content

Commit 4abd961

Browse files
committed
Merge branch 'master' of github.com:code-warrior/gulp-tutorial
2 parents f480f04 + 524a3d2 commit 4abd961

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

04--writing-the-gulpfile.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ The NPMJS page for a Gulp plugin will usually have an **Install** section, one o
77

88
**Note**: Because Gulp 4 was released in January 2018, it’s still considered relatively new. As such, many examples on the NPMJS web site and on the web were written in Gulp 3.9.x. All examples in this tutorial and repo are written in Gulp 4.0.0.
99

10-
In the `compress-html` folder we’ve been working in during this tutorial, create a folder called `uncompressed-html`, then add an HTML document called `index.html` to it.
10+
Using the `compress-html` folder we’ve been working with during this tutorial, create a folder called `uncompressed-html`, then add to it an HTML document called `index.html`.
1111

1212
Now, create an empty file called `gulpfile.js` in `compress-html`. Recall from step 2 of this tutorial that `gulpfile.js` is the `entry point` in `package.json`. Before continuing, ensure the folder `compress-html` has the following folders/files:
1313
* `package.json`
1414
* `uncompressed-html/index.html`
1515
* `gulpfile.js`
16-
* `node_modules` (there are too many folders/files to list under `node_modules`, so just ensure it exists.)
16+
* `node_modules` (there are too many folders/files to list under `node_modules`, so just ensure it exists)
1717

1818
Copy and paste the following into `gulpfile.js`.
1919

@@ -35,7 +35,7 @@ Before I explain the syntax, run the following from your command line:
3535
gulp compressHTML
3636
```
3737

38-
If there are no problems, then a new folder called `compressed-html` will have been added to the `compress-html` folder, and `index.html` from the folder `uncompressed-html` will have been copied into `compressed-html`, but minified/compressed. Open`index.html` in a text editor and verify that it, indeed, has been minified/compressed.
38+
If there were no problems, then a new folder called `compressed-html` would have been added to the `compress-html` folder, and `index.html` from the folder `uncompressed-html` would have been copied into `compressed-html`, but minified/compressed. Open`index.html` in a text editor and verify that it, indeed, has been minified/compressed.
3939

4040
Now, back to the code.
4141

0 commit comments

Comments
 (0)