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

fix(vite): Show target build mode in logs #1498

Merged
merged 1 commit into from
Jan 12, 2021
Merged

fix(vite): Show target build mode in logs #1498

merged 1 commit into from
Jan 12, 2021

Conversation

cawa-93
Copy link
Contributor

@cawa-93 cawa-93 commented Jan 12, 2021

When building the inscription "Build for production ..." is always displayed in the console. This PR fix this: the name of the target mode is displayed in the console:

$ vite build --mode development
building for development...
../dist/assets/main.90d02498.js      0.07kb / brotli: 0.07kb
$ vite build --mode test
building for test...
../dist/assets/main.90d02498.js      0.07kb / brotli: 0.07kb

@yyx990803 yyx990803 merged commit ae2e14b into vitejs:main Jan 12, 2021
@cawa-93 cawa-93 deleted the patch-1 branch January 12, 2021 08:52
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.

2 participants