-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Commented CSS caused error on npm run build #426
Comments
The plain css is not sppport this comment synax. Can you provider a reproduction with this? I test it and get successful build. |
sorry, mis-typed should be /* |
Can you provider error logs with |
@shengxinjing thanks for tract this. |
Commented CSS will throw error on npm run build
Reproduction
paste these into completely new project css will throw error on build
/@font-face {
font-family: 'abcde';
src: url('./assets/fonts/abc.ttf') format('truetype');
}/
System Info
vite v1.0.0-beta.2
The text was updated successfully, but these errors were encountered: