久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <small id='hVOz0'></small><noframes id='hVOz0'>

    <i id='hVOz0'><tr id='hVOz0'><dt id='hVOz0'><q id='hVOz0'><span id='hVOz0'><b id='hVOz0'><form id='hVOz0'><ins id='hVOz0'></ins><ul id='hVOz0'></ul><sub id='hVOz0'></sub></form><legend id='hVOz0'></legend><bdo id='hVOz0'><pre id='hVOz0'><center id='hVOz0'></center></pre></bdo></b><th id='hVOz0'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='hVOz0'><tfoot id='hVOz0'></tfoot><dl id='hVOz0'><fieldset id='hVOz0'></fieldset></dl></div>

      <tfoot id='hVOz0'></tfoot>
      <legend id='hVOz0'><style id='hVOz0'><dir id='hVOz0'><q id='hVOz0'></q></dir></style></legend>

          <bdo id='hVOz0'></bdo><ul id='hVOz0'></ul>

        如何從另一個 gulp file.js 導入所有任務

        How to import all tasks from another gulp file.js(如何從另一個 gulp file.js 導入所有任務)

        1. <tfoot id='yQq4b'></tfoot>
          1. <i id='yQq4b'><tr id='yQq4b'><dt id='yQq4b'><q id='yQq4b'><span id='yQq4b'><b id='yQq4b'><form id='yQq4b'><ins id='yQq4b'></ins><ul id='yQq4b'></ul><sub id='yQq4b'></sub></form><legend id='yQq4b'></legend><bdo id='yQq4b'><pre id='yQq4b'><center id='yQq4b'></center></pre></bdo></b><th id='yQq4b'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='yQq4b'><tfoot id='yQq4b'></tfoot><dl id='yQq4b'><fieldset id='yQq4b'></fieldset></dl></div>
              <bdo id='yQq4b'></bdo><ul id='yQq4b'></ul>

                  <legend id='yQq4b'><style id='yQq4b'><dir id='yQq4b'><q id='yQq4b'></q></dir></style></legend>
                    <tbody id='yQq4b'></tbody>

                  <small id='yQq4b'></small><noframes id='yQq4b'>

                  本文介紹了如何從另一個 gulp file.js 導入所有任務的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  是否可以有一個主要的 gulpfile.js 來調用其他 gulp files.js 的任務?將子 gulpfile.js 簡單地要求"到主文件中是行不通的.我有一個平臺項目,其中包括幾個帶有單獨 gulpfile 的子項目,所以我需要一個解決方案來管理主要項目中的所有子 gulpfile

                  Is it possible to have one main gulpfile.js from which to call tasks from other gulp files.js? Simple "require" of child gulpfile.js into main one doesn't work. I have a platform project which includes several sub projects with separate gulpfiles, so I need a solution to manage all child gulpfiles from within main one

                  推薦答案

                  如果我想讓它面向未來并且不想安裝怎么辦另一個包.

                  And what if I want to make it future-proof and don't want to install another package for it.

                  以下內容適用于 gulp 4,沒有任何額外的插件.

                  The following works for me with gulp 4, without any extra plugins.

                  taskfile.js中:

                  const { src, dest } = require('gulp');
                  
                  const mytask = function () {
                    return src('assets/**/*')
                      .pipe(dosomething())
                      .pipe(dest('dest');
                  }
                  
                  module.exports = {
                    mytask
                  }
                  

                  gulpfile.js 中:

                  const { mytask } = require('taskfile.js');
                  
                  // use in other tasks
                  gulp.task('manythings', gulp.series(..., mytask, ...));
                  
                  // or use directly as 'gulp mytask'
                  module.exports = {
                    mytask
                  }
                  

                  這篇關于如何從另一個 gulp file.js 導入所有任務的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browserify, Babel 6, Gulp - Unexpected token on spread operator(Browserify,Babel 6,Gulp - 傳播運算符上的意外令牌)
                  Is it possible to pass a flag to Gulp to have it run tasks in different ways?(是否可以將標志傳遞給 Gulp 以使其以不同的方式運行任務?)
                  Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                  How to run Gulp tasks sequentially one after the other(如何一個接一個地依次運行 Gulp 任務)
                  Stylesheet not loaded because of MIME-type(由于 MIME 類型而未加載樣式表)
                  Visual Studio 2015 crashes when opening Javascript files(打開 Javascript 文件時 Visual Studio 2015 崩潰)
                  • <bdo id='1NcnU'></bdo><ul id='1NcnU'></ul>
                    <tfoot id='1NcnU'></tfoot>
                      <legend id='1NcnU'><style id='1NcnU'><dir id='1NcnU'><q id='1NcnU'></q></dir></style></legend>
                    • <small id='1NcnU'></small><noframes id='1NcnU'>

                        <tbody id='1NcnU'></tbody>
                      <i id='1NcnU'><tr id='1NcnU'><dt id='1NcnU'><q id='1NcnU'><span id='1NcnU'><b id='1NcnU'><form id='1NcnU'><ins id='1NcnU'></ins><ul id='1NcnU'></ul><sub id='1NcnU'></sub></form><legend id='1NcnU'></legend><bdo id='1NcnU'><pre id='1NcnU'><center id='1NcnU'></center></pre></bdo></b><th id='1NcnU'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='1NcnU'><tfoot id='1NcnU'></tfoot><dl id='1NcnU'><fieldset id='1NcnU'></fieldset></dl></div>

                          • 主站蜘蛛池模板: 黑人精品xxx一区一二区 | 久久久久久国产 | 欧美精品久久久久 | 日本午夜在线视频 | 91福利在线观看视频 | 精品国产一区二区三区观看不卡 | 国产精品欧美精品日韩精品 | 久久午夜精品福利一区二区 | 国产综合第一页 | 日本三级网站在线 | 国产精品99视频 | 国产一级视频免费播放 | 91在线网站 | 国产视频中文字幕在线观看 | 欧美视频中文字幕 | 天天干狠狠操 | 亚洲综合色视频在线观看 | 91超碰caoporn97人人 | 成人欧美一区二区三区 | www.五月婷婷.com| v片网站| 午夜爽爽爽男女免费观看影院 | 国产精品成人在线播放 | 亚洲网站在线观看 | 日韩欧美在线视频一区 | 日日噜噜夜夜爽爽狠狠 | 中文字幕加勒比 | 久久久亚洲精品视频 | 99精品久久久 | 欧美一级二级视频 | 精品一区二区久久久久久久网站 | 一区二区三区免费 | 亚洲成人自拍网 | 国产精品久久久久久久久久 | 日韩视频一区二区三区 | 天天综合永久 | 久久久久国产一区二区三区四区 | 99精品一区二区三区 | 亚洲男女视频在线观看 | 国产在线视频网 | 午夜精品久久 |