Snapping node application: which files are included?


#1

Snapping a node application: When running the snap with a launch script /bin/launch.sh the tooling from the repository is not included in the snap like (/bin/init.sh, /bin/run.sh). how to specify which scripts should be included and which files are by ‘default’ bundled?

My build is using lxd.


#2

Found the answer by trying out all environment paths:

$SNAP/lib/node_modules/{app-name}