Skip to content

fix(build): env output is not stable#17748

Merged
patak-cat merged 1 commit intovitejs:mainfrom
houfeng0923:patch-1
Jul 23, 2024
Merged

fix(build): env output is not stable#17748
patak-cat merged 1 commit intovitejs:mainfrom
houfeng0923:patch-1

Conversation

@houfeng0923
Copy link
Copy Markdown
Contributor

make env output sequence stable

Description
If use import.meta.env directly, the output maybe not stable.
some variable is defined in vite.config.js, otherwise it can merge in .env file and environment in cli.
so the output string is different, this will causes the output files with different [hashcode] .

Loading
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.

3 participants