-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Enable to autoload a loader of a gulpfile specified by .gulp.* (#…
…181)
- Loading branch information
Showing
4 changed files
with
49 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"flags": { | ||
"silent": true, | ||
"gulpfile": "other_folder/gulpfile-exports.babel.js" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
test/fixtures/config/flags/gulpfile/autoload/other_folder/gulpfile-exports.babel.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
'use strict'; | ||
|
||
import gulp from 'gulp'; | ||
|
||
export function clean(done) { console.log('clean!'); done(); }; | ||
export function build(done) { console.log('build!'); done(); }; | ||
export const string = 'no function'; | ||
export const dist = gulp.series(clean, build); |