Skip to content

Commit f50a3f0

Browse files
committed
Fix missing icon in n8n node by copying SVG to dist during build
Build script now copies snaprender.svg to dist/nodes/SnapRender/ after TypeScript compilation. Bumps to v0.1.1.
1 parent 368d55a commit f50a3f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

n8n/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "n8n-nodes-snaprender",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "n8n node to capture website screenshots using SnapRender API. PNG, JPEG, WebP, PDF with device emulation, dark mode, ad blocking.",
55
"license": "MIT",
66
"homepage": "https://snap-render.com",
@@ -25,7 +25,7 @@
2525
},
2626
"main": "index.js",
2727
"scripts": {
28-
"build": "tsc",
28+
"build": "tsc && cp nodes/SnapRender/snaprender.svg dist/nodes/SnapRender/",
2929
"dev": "tsc --watch",
3030
"prepublishOnly": "npm run build"
3131
},

0 commit comments

Comments
 (0)