Setting Production Environment
# another way of doing this is to define the ENV in package.json
"scripts": {
"start": "gulp",
"build": "JEKYLL_ENV=production gulp build --production",
"test": "JEKYLL_ENV=production gulp build --production"
},
# but doing it inside gulp allows us to call gulp directly