-1

ASP.NET Web Optimization Framework throws errors in CSS minification, I tried, validated and did everything to fix, but seems framework bug

/* Minification failed. Returning unminified contents.
(1,1-2): run-time error JS1195: Expected expression: .
(2,14-15): run-time error JS1004: Expected ';': :
(2,15-19): run-time error JS1306: Invalid numeric literal: 12px
 */
.a {
    font-size:12px;
}
;

This was just a single line test to see if it still works but not working.

Luckyy
  • 1,021
  • 4
  • 15
  • 29

1 Answers1

0

Fixed. Sorry issue was with the bundle tutorial from where I just copied, its fixed. THanks

Luckyy
  • 1,021
  • 4
  • 15
  • 29
  • 1
    Can you please tell me how you got it fixed because I am also into the same thing and got stuck for a whole day – Tushar Raj Jul 23 '15 at 07:09
  • I bet he used created a ScriptBundle with css files instead of a StyleBundle -- at least, that's what I did and got the same errors :) – stu Jul 26 '18 at 18:57