Ensure PnP loader is copied to package. Fixes #36.
This commit is contained in:
@@ -152,6 +152,9 @@ let
|
|||||||
# include the node_modules folder in the package.
|
# include the node_modules folder in the package.
|
||||||
if [ -d node_modules ]; then
|
if [ -d node_modules ]; then
|
||||||
cp --recursive node_modules "$out/libexec/$name"
|
cp --recursive node_modules "$out/libexec/$name"
|
||||||
|
else
|
||||||
|
# Otherwise, assume PnP. Copy the loader into the package.
|
||||||
|
cp .pnp.* "$out/libexec/$name"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "$out/libexec/$name"
|
cd "$out/libexec/$name"
|
||||||
|
|||||||
Reference in New Issue
Block a user