1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

preview-dev env

This commit is contained in:
codecalm
2022-10-20 23:54:47 +02:00
parent 72d1eb5130
commit 3c41a6bbdf
9 changed files with 24 additions and 25 deletions

View File

@@ -358,7 +358,11 @@ gulp.task('build-jekyll', (cb) => {
var env = Object.create(process.env)
if (argv.preview) {
env.JEKYLL_ENV = 'preview'
if (argv.dev) {
env.JEKYLL_ENV = 'preview-dev'
} else {
env.JEKYLL_ENV = 'preview'
}
} else {
env.JEKYLL_ENV = 'production'
}