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

enhancement: add --buildEnv command param for different build env. #2

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

CrisChr
Copy link
Contributor

@CrisChr CrisChr commented Feb 10, 2024

支持在命令行输入--buildEnv 参数生成不同打包环境的resource-hint.js文件,例如:

针对DEV环境,npm run generate-resource-hint --buildEnv DEV ,生成 resource-hint-dev.js

@CrisChr CrisChr changed the title enhancement: add command param for different build env. enhancement: add --buildEnv command param for different build env. Feb 10, 2024
@JuniorTour
Copy link
Owner

手动点赞,代码质量很高,还加了测试用例,辛苦了!

@JuniorTour JuniorTour merged commit f6791ed into JuniorTour:main Feb 10, 2024
1 check passed
@JuniorTour
Copy link
Owner

已发布为v0.2.0版本:https://www.npmjs.com/package/resource-hint-generator/v/0.2.0

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

Successfully merging this pull request may close these issues.

None yet

2 participants