Open gloriaJun opened 5 years ago
If some of the scripts depend on the other scripts, you can use $npm_execpath environment variable.
$npm_execpath
For Example,
"scripts": { "start": "$npm_execpath run dev", "dev": "cross-env NODE_ENV=development webpack-dev-server --config },
If some of the scripts depend on the other scripts, you can use
$npm_execpath
environment variable.For Example,
Reference