Skip to content

Commit 1096ce2

Browse files
committed
Set JEKYLL_ENV in build:jekyll script.
1 parent 974b59d commit 1096ce2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
"scripts": {
66
"build": "npm run build:jekyll && npm run build:gulp",
77
"build:gulp": "gulp build",
8-
"build:jekyll": "bundle exec jekyll build"
8+
"build:jekyll": "cross-env JEKYLL_ENV=production bundle exec jekyll build"
99
},
1010
"devDependencies": {
1111
"babel-preset-es2015": "^6.14.0",
12+
"cross-env": "^2.0.1",
1213
"gulp": "^3.9.1",
1314
"gulp-babel": "^6.1.2",
1415
"gulp-cli": "^1.2.2",

0 commit comments

Comments
 (0)