What is the ** glob character?

前端 未结 4 1399
野趣味
野趣味 2020-12-01 02:49

I have this path in my react gulpfile:

var path = {
  HTML: \'src/index.html\',
  ALL: [\'src/js/*.js\', \'src         


        
4条回答
  •  南笙
    南笙 (楼主)
    2020-12-01 03:06

    Like Grunt, the double ** is saying, "Look in all the subfolders within js and for all of the .js files."

    You can actually refer here for the same:

    https://www.codefellows.org/blog/quick-intro-to-gulp-js

提交回复
热议问题