WebOptimizer icon indicating copy to clipboard operation
WebOptimizer copied to clipboard

CSS minify error CSS1030

Open fouadalnahhal opened this issue 2 years ago • 1 comments

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 ')' ...

fouadalnahhal avatar Jun 20 '23 07:06 fouadalnahhal

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.

paator avatar Mar 04 '24 16:03 paator