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

CSS minify error CSS1030 #275

Open
fouadalnahhal opened this issue Jun 20, 2023 · 1 comment
Open

CSS minify error CSS1030 #275

fouadalnahhal opened this issue Jun 20, 2023 · 1 comment

Comments

@fouadalnahhal
Copy link

result:
/* input(21,3602): run-time error CSS1030: Expected identifier, found '.'
input(21,3618): run-time error CSS1025: Expected comma or open brace, found ')'
input(21,4051): run-time error CSS1030: Expected identifier, found '.'
input(21,4067): run-time error CSS1025: Expected comma or open brace, found ')'
...

@paator
Copy link

paator commented Mar 4, 2024

I experience the same issue in my styles.

EDIT: Upon further inspection, it turned out to be a real CSS error, albeit very hard to spot. In the Blazor server-side exported output, there was a random dot:

.class .{ }

These were bundled component-scoped styles in a single file. The error syntax indicating the line that triggered the error was incorrect. However, I managed to identify the issue manually.

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

No branches or pull requests

2 participants