Payment-free self-hosted builds keep full API access with optional webhookUrl callbacks and the published n8n-nodes-songs2vid package source under integrations/n8n.
15 lines
375 B
JavaScript
15 lines
375 B
JavaScript
const { src, dest } = require("gulp");
|
|
|
|
/**
|
|
* Copy node/credential icons (+ codex JSON) into dist so n8n can resolve
|
|
* `icon: "file:songs2vid.svg"` next to the compiled .js files.
|
|
*/
|
|
function copyIcons() {
|
|
return src(
|
|
["nodes/**/*.{png,svg,json}", "credentials/**/*.{png,svg,json}"],
|
|
{ base: "." },
|
|
).pipe(dest("dist"));
|
|
}
|
|
|
|
exports["build:icons"] = copyIcons;
|