Skip to content

Commit 53b9037

Browse files
tonyhallettphated
authored andcommitted
Docs: Add note about transpilation to "Splitting a Gulpfile" section (closes #2311) (#2312)
1 parent f3f0548 commit 53b9037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +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` 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.
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. If you are using a transpiler, name the folder and file accordingly.
3232

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

0 commit comments

Comments
 (0)