microsoft / ajaxmin

The Microsoft Ajax Minifier enables you to improve the performance of your Ajax applications by reducing the size of your Cascading Style Sheet and JavaScript files.
https://www.nuget.org/packages/AjaxMin
MIT License
32 stars 21 forks source link

CSS variables fail to minify on Publish #8

Closed Yokomoko closed 3 years ago

Yokomoko commented 5 years ago

If you have global variables in the css: i.e.:

    --mainBackground: linear-gradient(135deg, #f6fcff 0%,#e8ebee 2%,#fafafa 47%,#f6fcff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    --darkDropShadow: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
    --popupMenuShadow: 0 0 24px -4px rgba(0,0,0,0.75);
    --MenuBoxShadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

Then the project will fail to publish because it does not recognise the '--' characters. It expects a semicolon.

Yokomoko commented 4 years ago

Is this dead?

seankeating commented 3 years ago

This project is no longer being maintained.