mirror of
https://github.com/aljazceru/n8n-nodes-signal-cli.git
synced 2025-12-17 06:14:20 +01:00
17 lines
494 B
JavaScript
17 lines
494 B
JavaScript
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));
|
|
}
|