エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Is it possible to pass a flag to Gulp to have it run tasks in different ways?
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Is it possible to pass a flag to Gulp to have it run tasks in different ways?
Normally in Gulp tasks look like this: gulp.task('my-task', function() { return gulp.src(options.... Normally in Gulp tasks look like this: gulp.task('my-task', function() { return gulp.src(options.SCSS_SOURCE) .pipe(sass({style:'nested'})) .pipe(autoprefixer('last 10 version')) .pipe(concat('style.css')) .pipe(gulp.dest(options.SCSS_DEST)); }); Is it possible to pass a command line flag to gulp (that's not a task) and have it run tasks conditionally based on that? For instance $ gulp my-task -a