Pkg: How to pass environment variables when compiling?

Created on 19 Oct 2018  ·  1Comment  ·  Source: vercel/pkg

Is there a way to pass environment variables during compilation like

NODE_ENV=build pkg index..js

>All comments

1、 pkg index.js
2、 NODE_ENV=build ./index

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ks89 picture Ks89  ·  4Comments

gillez picture gillez  ·  4Comments

Admiral-Enigma picture Admiral-Enigma  ·  3Comments

telunc picture telunc  ·  4Comments

serzhiio picture serzhiio  ·  3Comments