Skip to content

Update 04--writing-the-gulpfile.md #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 04--writing-the-gulpfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Now, back to the code on lines 4–8.
We establish a function, which we’ll also refer to as a task, called `compressHTML`, which will do the following:
1. Source all HTML files in the `uncompressed-html` folder.
2. Pipe, or send, the outputof all the HTML files to our `htmlCompressor` function, which, in turn, receives an object of options (a common Gulp feature) that collapses whitespace.
3. Pipe the compressed HTML files, which are copies of the original files in the `uncompressed-html` folder, to the final destination: the `compressed-html` folder. If the folder doesn’t exist, the `dest` function will create it; the compressed files retain the names of the original files copied from the `compressed-html` folder.
3. Pipe the compressed HTML files, which are copies of the original files in the `uncompressed-html` folder, to the final destination: the `compressed-html` folder. If the folder doesn’t exist, the `dest` function will create it; the compressed files retain the names of the original files copied from the `uncompressed-html` folder.

## Last Line
```javascript
Expand Down