久久久久久久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>

                          • 主站蜘蛛池模板: 成人免费视频观看 | 午夜精品一区二区三区在线观看 | 天天艹 | 国产精品视频不卡 | 日本啊v在线 | 久久综合久久自在自线精品自 | 青青草免费在线视频 | 一区二区三区在线 | 久久久久久久av | 妖精视频一区二区三区 | 91最新入口 | 亚洲免费网 | av一区二区三区四区 | 六月色婷 | 色先锋影音 | 久久久久久中文字幕 | 久久久久国产一级毛片 | 黑色丝袜三级在线播放 | 国产一区三区视频 | 国产一级免费视频 | 羞羞涩涩在线观看 | 91精品国产综合久久精品图片 | 国产传媒视频在线观看 | 精品久久电影 | 亚洲欧美国产毛片在线 | 一区二区不卡高清 | 99re6在线视频精品免费 | 蜜臀久久99精品久久久久野外 | 天天射网站 | 国产美女自拍视频 | 亚洲国产情侣 | 一区免费看| 午夜专区| 亚洲欧美在线观看视频 | 九九热免费观看 | 日韩喷潮 | 午夜免费福利影院 | 国产一区电影 | 伊人二区 | 久久久一区二区三区 | 精品国产99|