Use NODE_OPTIONS to set PnP require in wrapper
Fixes PnP in subprocesses.
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -1,2 +1,3 @@
|
||||
#!/bin/sh
|
||||
exec '@@NODE_PATH@@' -r '@@PNP_PATH@@' '@@SCRIPT_PATH@@' "$@"
|
||||
export NODE_OPTIONS="--require @@PNP_PATH@@"
|
||||
exec '@@NODE_PATH@@' '@@SCRIPT_PATH@@' "$@"
|
||||
|
||||
Reference in New Issue
Block a user