![]() ![]() It’s built on Node.js, and both the Gulp source and your Gulp file, where you define tasks, are written in JavaScript (or something like CoffeeScript, if you so choose). Of course, there’s still way more to Gulp than what was covered in these two tutorials, but with this knowledge you can go ahead and figure out what other gulp plugins might be great to add to your is a build system, meaning that you can use it to automate common tasks in the development of a website. You’ve learned how to set things up, how to write a gulp task, use gulp plugins and find more information on each plugin you use. These two articles would have taught you the very basics of Gulp. task ( ' sass ', function () )īrowser Sync provides lots of options to configure, if there’s something you want to do, but isn’t covered in this article, you might want to try looking at the documentation directly. Here’s how we can modify the sass task to include globbing: gulp. If that’s true, you can also use the +(|) pattern to allow Gulp to match files ending with both. You might also have a mix of files ending with. Let’s see how to place globs into these methods in our current sass task.įirst of all, we may need to compile more than one Sass file into CSS within the app/scss folder. We can use these globbing patterns in 3 different gulp methods. In this case, Gulp will match any file ending with. *.+(scss|sass) - The plus + and parenthesis () allows Gulp to match multiple patterns, with patterns separated by the pipe | character.In this case, not-me.scss would be excluded from a match. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |