Skip to content

Should add official angular tools/libs to get Angular Environment Variables from Vercel Environment Variables #28381

Closed
@trinm90

Description

@trinm90

Which @angular/* package(s) are relevant/related to the feature request?

common

Description

I use Angular Environment Variables from environment.ts file. Everything is OK on my dev environment. But when I deploy my project to Vercel & need to use Vercel Environment Variables, I have to do an extra step of installing dotenv and creating the set-env.js file : link to the file

Proposed solution

Can Angular team please create an official tool or lib to get the Environment Variables that works with Vercel Environment Variables?

Alternatives considered

Manually creating the set-env.js or config.js to convert Vercel Environment Variables to Angular Environment Variables in environment.ts file : link to the file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions