Skip to content

Commit 9f4ef68

Browse files
committed
Rename “compileJSForProd” → “transpileJSForProd”
1 parent 3fcd4bb commit 9f4ef68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gulpfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ gulp.task(`transpileJSForDev`, function () {
153153
* This task sources all the JavaScript files in dev/scripts, transpiles them to ES6,
154154
* compresses the output, then writes the result to the prod/scripts folder.
155155
*/
156-
gulp.task(`compileJSForProd`, function () {
156+
gulp.task(`transpileJSForProd`, function () {
157157
return gulp.src(`dev/scripts/*.js`)
158158
.pipe(babel())
159159
.pipe(jsCompressor())
@@ -218,7 +218,7 @@ gulp.task(`compressThenCopyImagesToProdFolder`, function () {
218218
* tasks, specifically:
219219
*
220220
* — Images are handled by the compressThenCopyImagesToProdFolder task
221-
* — JavaScript is handled by the compileJSForProd task
221+
* — JavaScript is handled by the transpileJSForProd task
222222
* — Sass/CSS is handled by the compileCSSForProd task
223223
*/
224224
gulp.task(`copyUnprocessedAssetsToProdFolder`, function () {
@@ -245,7 +245,7 @@ gulp.task(`build`, [
245245
`compressHTML`,
246246
`compileCSSForProd`,
247247
`lintJS`,
248-
`compileJSForProd`,
248+
`transpileJSForProd`,
249249
`compressThenCopyImagesToProdFolder`,
250250
`copyUnprocessedAssetsToProdFolder`
251251
]);

0 commit comments

Comments
 (0)