O'Reilly logo

Bootstrap 4 Site Blueprints by Ian Whitley, David Cochran, Bass Jobsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required