🔨 Update gulp
This commit is contained in:
parent
f2731eaa55
commit
2b2ddca3be
2 changed files with 6 additions and 8 deletions
12
gulpfile.js
12
gulpfile.js
|
|
@ -1,11 +1,9 @@
|
|||
const { src, dest } = require('gulp');
|
||||
const { task, src, dest } = require('gulp');
|
||||
|
||||
task('build:icons', copyIcons);
|
||||
|
||||
function copyIcons() {
|
||||
src('nodes/**/*.{png,svg}')
|
||||
.pipe(dest('dist/nodes'))
|
||||
src('nodes/**/*.{png,svg}').pipe(dest('dist/nodes'));
|
||||
|
||||
return src('credentials/**/*.{png,svg}')
|
||||
.pipe(dest('dist/credentials'));
|
||||
return src('credentials/**/*.{png,svg}').pipe(dest('dist/credentials'));
|
||||
}
|
||||
|
||||
exports.default = copyIcons;
|
||||
Loading…
Add table
Add a link
Reference in a new issue