node cross-env 注入环境变量失效?
資深大佬 : tuihou123321 0
命令如下:
尝试以下两种方法,都只能打印出 REACT_APP_ENV 字段,其他字段不显示,为什么?
cross-env AABB=dev AABB_ENV=pro REACT_APP_ENV=devAccount2 react-scripts start
cross-env REACT_APP_ENV=devAccount2 AABB_ENV=pro react-scripts start
大佬有話說 (6)