Wednesday, 6 May 2020

run with env prop

Hello, is possible to run script from package.json with env propertie?Example:package.json { scripts: { build: "node build. js" } }in Terminal: npm run build -env map=truethen will run build.js with process. env. map with true value.Exists something like that? Thank you.

Submitted May 06, 2020 at 08:11AM by Hanrider

No comments:

Post a Comment