Skip to content

Commit

Permalink
Docs: Fix mistake in "Splitting a gulpfile" (fixes #2255)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Oct 26, 2018
1 parent 8e9fd70 commit 96c353d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/getting-started/2-javascript-and-gulpfiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ Many users start by adding all logic to a gulpfile. If it ever grows too big, it

Each task can be split into its own file, then imported into your gulpfile for composition. Not only does this keep things organized, but it allows you to test each task independently or vary composition based on conditions.

Node's module resolution allows you to replace your `gulpfile.js` with a directory called `gulpfile` that contains an `index.js` file which is treated as a `gulpfile.js`. This directory could then contain your individual modules for tasks.

Node's module resolution allows you to replace your `gulpfile.js` file with a directory named `gulpfile.js` that contains an `index.js` file which is treated as a `gulpfile.js`. This directory could then contain your individual modules for tasks.

[gulpfile-transpilation-advanced]: ../documentation-missing.md
[ts-node-module]: https://www.npmjs.com/package/ts-node
Expand Down

0 comments on commit 96c353d

Please sign in to comment.