Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm scripts -- params #10

Open
xgqfrms opened this issue Oct 19, 2021 · 3 comments
Open

npm scripts -- params #10

xgqfrms opened this issue Oct 19, 2021 · 3 comments

Comments

@xgqfrms
Copy link
Owner

xgqfrms commented Oct 19, 2021

npm scripts -- params

https://www.cnblogs.com/xgqfrms/p/15419474.html

demo

https://www.npmjs.com/package/set-process-env

https://www.npmjs.com/package/set-node-env

@xgqfrms
Copy link
Owner Author

xgqfrms commented Oct 19, 2021

node.js & child_process

https://nodejs.org/api/child_process.html#child_process_options_stdio

https://nodejs.org/api/child_process.html#child-process

demo

https://github.com/bytetalk/set-node-env/blob/master/bin/cli.js

Node.js & child_process All In One
作者:xgqfrms
链接:https://www.cnblogs.com/xgqfrms/p/15427171.html
来源:https://www.cnblogs.com
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
©xgqfrms 2012-2021
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️

@xgqfrms
Copy link
Owner Author

xgqfrms commented Oct 20, 2021

# -- ???
$ npm run dev -- --env=release

作者:xgqfrms
链接:https://www.cnblogs.com/xgqfrms/p/15427171.html
来源:https://www.cnblogs.com
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
©xgqfrms 2012-2021
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant