请教一个脚本传递自定义参数问题 #4819
jprothwell
started this conversation in
General
请教一个脚本传递自定义参数问题
#4819
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
例如将"build:antd": "pnpm run build --filter=@vben/web-antd"
改为:"build:antd:my": "myarg=abc pnpm run build --filter=@vben/web-antd"
最终可以在代码中访问到,如process.env.myarg
Beta Was this translation helpful? Give feedback.
All reactions