<tfoot id='sMYl6'></tfoot>

  • <legend id='sMYl6'><style id='sMYl6'><dir id='sMYl6'><q id='sMYl6'></q></dir></style></legend>

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

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

        <bdo id='sMYl6'></bdo><ul id='sMYl6'></ul>
      1. 任务名称的 Gulp.js 约定

        时间:2023-05-28

        • <bdo id='hzyrv'></bdo><ul id='hzyrv'></ul>
        • <small id='hzyrv'></small><noframes id='hzyrv'>

            • <legend id='hzyrv'><style id='hzyrv'><dir id='hzyrv'><q id='hzyrv'></q></dir></style></legend>

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

                  本文介绍了任务名称的 Gulp.js 约定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  在编写 Gulpfile、命名任务、构建配置文件等方面是否有任何约定?

                  Are there any conventions for writing Gulpfiles, namespacing the tasks, structuring the config file etc?

                  也许可以从 Grunt 世界中汲取一些基本的常识性东西?

                  Maybe there are some basic common-sense things that can be taken from Grunt world?

                  您如何处理 Gulpfile 的结构化问题,就好像您要辞掉工作一样,下一个 JS 开发人员会来并直观地了解如何构建项目?

                  How do you deal with structuring the Gulpfile as if you were to quit your job and the next JS developer would come and intuitively understand how to build the project?

                  推荐答案

                  所以我们完成了按阶段对名称进行分组,在主要阶段的名称下嵌套子任务.

                  So we finished up with grouping the names by phase, nesting subtasks under the names of the main phases.

                  基本上我们使用策略从已经存在的其他语言(例如 gradle)的构建库中复制约定,因此我们流程的所有部分的构建命令都是相同的,每个人都可以弄清楚要做什么

                  Essentially we used strategy to copy conventions from build libraries of other languages (e.g. gradle) that were already in place, so build commands for all parts of our process would be the same and everybody could figure out what to

                  这导致:

                  build
                  ...
                  build:compile
                  build:compile:less
                  ...
                  test
                  test:unit
                  ...
                  test:e2e
                  ...
                  verify
                  ...
                  release
                  release:copy
                  release:copy:fonts
                  

                  这篇关于任务名称的 Gulp.js 约定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:获取vscode中任务文件的相对路径 下一篇:使用 GULP 编译 SASS 和 SUSY

                  相关文章

                  最新文章

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

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

                    <legend id='H9jJZ'><style id='H9jJZ'><dir id='H9jJZ'><q id='H9jJZ'></q></dir></style></legend>
                      <bdo id='H9jJZ'></bdo><ul id='H9jJZ'></ul>

                  1. <tfoot id='H9jJZ'></tfoot>