Bundle nodered for distribution

Is it possible to bundle node-red v 4.0.09 as an exe or single js file for distribution and then use in production as exe?

Welcome to the forums @Rashi

Yes it is - a few articles around here if you search.
See here for a project of mine for example

Thanks Marcus for quick reply. Project Node-RED-SFE uses pkg, that is deprecated.

Is there any other way where we don't need to ship large node_modules files/folders?

If you look a little closer, you will see I’m not using the original pkg project, but an active fork by a colleague of mine :grin:

You don’t need to ship anything, other than the executable it creates - everything becomes embedded into the EXE (including the node modules that you install via the UI) you don’t even need the node runtime once compiled.

1 Like

insanely capable

:smile: I like the description.

1 Like

:shushing_face:

I don’t want the core team being too humble :rofl:

1 Like

Too late. You’ve been spotted!
( we are omnipotent after all :wink: )

1 Like

It's the hot weather - it makes me say (or type) silly things. I'll correct the read me shortly :wink:

You’re fine. Happy to live with any meagre praise we get.

1 Like