-
Notifications
You must be signed in to change notification settings - Fork 19
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
Error while compressing Expected semicolon or closing curly-brace, found '-' #46
Comments
Hello, Jitan! This is a error at the Microsoft Ajax Minifier library level. Replace the BundleTransformer.MicrosoftAjax module by the BundleTransformer.NUglify module. |
If this error still occurs, try to add in the <configuration>
…
<bundleTransformer …>
…
<nuglify>
<css ignoreErrorList="CSS1062" />
…
</nuglify>
…
</bundleTransformer>
…
</configuration> |
Thank you for replying @Taritsyn, I am currently testing the first suggestion. Will update once done |
Thank you @Taritsyn, |
Getting error when enable optimizations is true.
Similar Issue:
trullock/NUglify#46
Error while compiling the :root
https://github.com/trullock/NUglify/pull/46/files#diff-1fc1d5d1bf6b24928485c0cf59bcd6f7894809d95f5552b52209ca3b222f1b01
Work-around tried unsuccessfully as this also fails when
BundleTable.EnableOptimizations = true;
Working as expected when
BundleTable.EnableOptimizations = false;
(in development mode)https://stackoverflow.com/a/54088086/8178474
Screen shot:
The text was updated successfully, but these errors were encountered: