Skip to content

Commit

Permalink
revert build
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Oct 20, 2022
1 parent 3c41a6b commit 7d53250
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions gulpfile.js
Expand Up @@ -358,11 +358,7 @@ gulp.task('build-jekyll', (cb) => {
var env = Object.create(process.env)

if (argv.preview) {
if (argv.dev) {
env.JEKYLL_ENV = 'preview-dev'
} else {
env.JEKYLL_ENV = 'preview'
}
env.JEKYLL_ENV = 'preview'
} else {
env.JEKYLL_ENV = 'production'
}
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -8,7 +8,6 @@
"start-plugins": "gulp start --with-plugins",
"build": "gulp build",
"preview": "gulp build --preview",
"preview-dev": "gulp build --preview --dev",
"svg-optimize": "svgo -f svg/brand --pretty",
"unused-files": "node build/unused-files.js",
"release": "release-it",
Expand Down

0 comments on commit 7d53250

Please sign in to comment.