Hi telecast,
In 5.6 there is a build.sh
script that take care run the relevant commands (with some fixes though)
cd /usr/lib/one/sunstone/public
mv -vf dist/main.js main.js-tmp
./build.sh -d
export PATH=$PATH:$PWD/node_modules/.bin
./build.sh
mv -vf main.js-tmp dist/main.js
Note that dist/main.js
must be a symlink to /var/lib/one/sunstone/main.js
file. I is ok to have empty /var/lib/one/sunstone/main.js
file - it is (re)created when sunstone starts.
Hope this helps.
Best Regards,
Anton Todorov