Skip to content

docs: add note to use dotenv-expand (#10440)#10798

Merged
patak-cat merged 3 commits intovitejs:mainfrom
cjosue15:docs/add-note-dotenv-expand
Nov 6, 2022
Merged

docs: add note to use dotenv-expand (#10440)#10798
patak-cat merged 3 commits intovitejs:mainfrom
cjosue15:docs/add-note-dotenv-expand

Conversation

@cjosue15
Copy link
Contributor

@cjosue15 cjosue15 commented Nov 5, 2022

Note to how to use dotevn-exand #10440

Description

In this PR, a small explanation of how to use $ inside the environment value has been added, since vite uses dotevn-exand if \ is not used before it, the dependency will interpret it as variable

This is how it looks

image

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123)

@sapphi-red sapphi-red added the documentation Improvements or additions to documentation label Nov 6, 2022
sapphi-red
sapphi-red previously approved these changes Nov 6, 2022
Copy link
Member

@sapphi-red sapphi-red left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you ✨

@patak-cat patak-cat merged commit 96bd10a into vitejs:main Nov 6, 2022
@sapphi-red sapphi-red linked an issue Nov 6, 2022 that may be closed by this pull request
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

env file load incorrect

3 participants