Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F10360112
gulpfile.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
488 B
Referenced Files
None
Subscribers
None
gulpfile.js
View Options
const
path
=
require
(
'path'
);
const
{
task
,
src
,
dest
}
=
require
(
'gulp'
);
task
(
'build:icons'
,
copyIcons
);
function
copyIcons
()
{
const
nodeSource
=
path
.
resolve
(
'nodes'
,
'**'
,
'*.{png,svg}'
);
const
nodeDestination
=
path
.
resolve
(
'dist'
,
'nodes'
);
src
(
nodeSource
).
pipe
(
dest
(
nodeDestination
));
const
credSource
=
path
.
resolve
(
'credentials'
,
'**'
,
'*.{png,svg}'
);
const
credDestination
=
path
.
resolve
(
'dist'
,
'credentials'
);
return
src
(
credSource
).
pipe
(
dest
(
credDestination
));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 8, 04:38 (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1033632
Default Alt Text
gulpfile.js (488 B)
Attached To
Mode
rNPN n8n-phabricator-node
Attached
Detach File
Event Timeline
Log In to Comment