We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
First of all, thanks for this project. It was an inspiration and a good resource for me to build the @ngx-env/builder.
@ngx-env/builder
I suggest to add @ngx-env/builder 👇 to the list of builders.
ng add @ngx-env/builder
.env
NG_APP_ENABLE_ANALYTICS=false NG_APP_VERSION=$npm_package_version NG_APP_COMMIT=$GITHUB_SHA
@Component({ selector: "app-footer", }) export class FooterComponent { version = process.env.NG_APP_VERSION; branch = process.env.NG_APP_BRANCH_NAME; commit = process.env.NG_APP_COMMIT; analyticsFlag = process.env.NG_APP_ENABLE_ANALYTICS; }
<!-- Same output in the spans --> <span> {{ 'process.env.NG_APP_BRANCH_NAME' | env }} </span> <span> {{ 'NG_APP_BRANCH_NAME' | env }} </span> <span> {{ branch }} </span>
<!-- index.html --> <head> <title>NgApp on %NG_APP_BRANCH_NAME%</title> </head>
npm start NG_APP_BRANCH_NAME=$GITHUB_HEAD_REF ng test NG_APP_BRANCH_NAME=`git branch --show-current` npm run build
And please let me know if you think about any good feature to add to the project. 💙
The text was updated successfully, but these errors were encountered:
Thank you @chihab, can you raise a PR for the same.
Sorry, something went wrong.
feat: add @ngx-env/builder to the list of builders
8719bb1
Issue ngx-builders#172
feat: add @ngx-env/builder
7d99dbb
feat: add @ngx-env/builder (#173)
62d82fe
Issue #172
No branches or pull requests
First of all, thanks for this project. It was an inspiration and a good resource for me to build the
@ngx-env/builder
.I suggest to add
@ngx-env/builder
👇 to the list of builders.Usage
.env
Documentation
Links
And please let me know if you think about any good feature to add to the project. 💙
The text was updated successfully, but these errors were encountered: