mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
revert build
This commit is contained in:
@@ -358,11 +358,7 @@ gulp.task('build-jekyll', (cb) => {
|
|||||||
var env = Object.create(process.env)
|
var env = Object.create(process.env)
|
||||||
|
|
||||||
if (argv.preview) {
|
if (argv.preview) {
|
||||||
if (argv.dev) {
|
env.JEKYLL_ENV = 'preview'
|
||||||
env.JEKYLL_ENV = 'preview-dev'
|
|
||||||
} else {
|
|
||||||
env.JEKYLL_ENV = 'preview'
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
env.JEKYLL_ENV = 'production'
|
env.JEKYLL_ENV = 'production'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
"start-plugins": "gulp start --with-plugins",
|
"start-plugins": "gulp start --with-plugins",
|
||||||
"build": "gulp build",
|
"build": "gulp build",
|
||||||
"preview": "gulp build --preview",
|
"preview": "gulp build --preview",
|
||||||
"preview-dev": "gulp build --preview --dev",
|
|
||||||
"svg-optimize": "svgo -f svg/brand --pretty",
|
"svg-optimize": "svgo -f svg/brand --pretty",
|
||||||
"unused-files": "node build/unused-files.js",
|
"unused-files": "node build/unused-files.js",
|
||||||
"release": "release-it",
|
"release": "release-it",
|
||||||
|
|||||||
Reference in New Issue
Block a user