Lego2012
12/6/2016 - 1:49 PM

Setting Production Environment

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