mirror of
https://github.com/Ryujinx/Ryujinx-Ldn-Website.git
synced 2025-08-11 14:21:13 +00:00
Add node symlink to output directory
This commit is contained in:
parent
c9dbe2eb4f
commit
5a270a0eab
|
@ -36,9 +36,10 @@ let
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv "$lib/node_modules/$pname/dist" "$lib/node_modules/$pname/public" "$lib/node_modules/$pname/package.json" "$out/"
|
mv "$lib/node_modules/$pname/dist" "$lib/node_modules/$pname/public" "$lib/node_modules/$pname/package.json" "$out/"
|
||||||
rm -rf "$out/bin" "$lib/node_modules/$pname"
|
rm -rf "$lib/node_modules/$pname"
|
||||||
|
|
||||||
ln -s "$lib/node_modules" "$out/node_modules"
|
ln -s "$lib/node_modules" "$out/node_modules"
|
||||||
|
ln -s "$npm_config_nodedir/bin/node" "$out/bin/node"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue