Using the Design System with Gulp
This example illustrates how to build custom CSS and JS from the Standards JavaScript with Gulp.
First, install the dependencies with npm:
npm installOnce you've done this, you can modify src/js/main.js and run
the following command to build js/main.js and its complimentary source map:
npm run build:jsTo build CSS from [src/css/main.scss], run:
npm run build:cssThis example uses a slight variation of this Gulp
recipe
for the js task, and borrows from the Design System's own sass task
to build CSS from the SCSS sources.