Chapter 2. Creating Your Own Build Process with Gulp
In this chapter, you will learn how to set up your own build process for your Bootstrap project. Bootstrap's CSS is written in Sass, so when you are not using the precompiled CSS code, you will have to compile the CSS code by yourself. You'll need a Sass compiler to compile the Sass code into CSS.
Also, Bootstrap JavaScript plugins should be bundled and minified before being taken into production.
After reading this chapter, you will have learned to:
- Set up a build process with Gulp
- Create different environments in your build processor
- Compile your Sass code into CSS
- Automatically add vendor prefixes to your CSS code
- Prepare the JavaScript plugin for your project
- Run a static web server
- Test your code
- Use standard Bootstrap components and tweak them to fit your needs
- Create a simple one-page marketing website with Bootstrap
- Publish your project on GitHub