Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Citrus-Slider-Website
Commits
2e9d1505
Commit
2e9d1505
authored
Apr 19, 2018
by
Michael Iseard
Browse files
add build process for images
parent
a6d5f64b
Changes
1
Hide whitespace changes
Inline
Side-by-side
gulpfile.js
0 → 100644
View file @
2e9d1505
var
gulp
=
require
(
'
gulp
'
)
var
image
=
require
(
'
gulp-image
'
);
// paths
let
path
=
{
src
:
{
img
:
'
img/*
'
,
},
dist
:
{
img
:
'
img/
'
,
}
}
gulp
.
task
(
'
images
'
,
function
()
{
return
gulp
.
src
(
path
.
src
.
img
)
.
pipe
(
image
())
.
pipe
(
gulp
.
dest
(
path
.
dist
.
img
))
})
gulp
.
task
(
'
default
'
,
gulp
.
parallel
(
'
images
'
))
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment