Glob matching, exclude all JS files

后端 未结 1 1244
攒了一身酷
攒了一身酷 2020-12-05 04:12

I\'m a new user to gulp.js. I\'d like to move all of my non-javascript files to a build directory. What I\'ve got right now is this:

//Test copy
gulp.task(         


        
相关标签:
1条回答
  • 2020-12-05 04:27

    Try this glob pattern:

    myProject/src/**/!(*.js|*.map|*.src)
    
    0 讨论(0)
提交回复
热议问题