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: ignore css comment in build #432

Merged
merged 1 commit into from
Jun 23, 2020
Merged

Conversation

underfin
Copy link
Member

fix #426

@underfin
Copy link
Member Author

we can use cssnano instead of clean-css in minifyCSS

=。= Just remove comment will work.

@underfin underfin changed the title feat: use cssnano build css + ignore css comment in build fix: ignore css comment in build Jun 23, 2020
@yyx990803 yyx990803 merged commit 98ff7a1 into vitejs:master Jun 23, 2020
@underfin underfin deleted the build-css branch June 24, 2020 00:57
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.

Commented CSS caused error on npm run build
2 participants