Skip to content

Commit 96c353d

Browse files
committed
Docs: Fix mistake in "Splitting a gulpfile" (fixes #2255)
1 parent 8e9fd70 commit 96c353d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/getting-started/2-javascript-and-gulpfiles.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ Many users start by adding all logic to a gulpfile. If it ever grows too big, it
2828

2929
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.
3030

31-
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.
32-
31+
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.
3332

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

0 commit comments

Comments
 (0)