Is there a way to pass environment variables during compilation like
NODE_ENV=build pkg index..js
1、 pkg index.js 2、 NODE_ENV=build ./index