Skip to content

Support Modern CSS statements #16

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pvkekem
Copy link

@pvkekem pvkekem commented Nov 5, 2021

Such as

:root {
    --blue: 'blue';
    --five: 5px;
    --width: 100px;
    --half-width: calc(var(--width) / 2);
    --half-width-with-indent: calc(var(--half-width) + 16px);
    --half-width-with-indent: calc(10% + var(--half-width) + 16px);
}
.margin {
    margin: calc(2 * var(--five));
}
:is(.container) :is(.bold) {
    font-weight: bold;
}
:is(.container) :where(.bold) {
    grid-template-areas: 'myArea myArea myArea myArea myArea';
}
div :is(.test),
div:is(.test) {
    color: var(--blue);
}

Such as 
`:is()` 
`calc()`
`var(--variableName)`
@ghost
Copy link

ghost commented Nov 5, 2021

CLA assistant check
All CLA requirements met.

@Taritsyn
Copy link

Taritsyn commented Nov 5, 2021

@pvkekem As far as I know, this project is no longer maintained. Even in the README.md file there is a notification:

Notice: This project is no longer maintained.

If I were you, I would start using an official successor of the Microsoft Ajax Minifier - NUglify

@pvkekem
Copy link
Author

pvkekem commented Nov 5, 2021

@pvkekem As far as I know, this project is no longer maintained. Even in the README.md file there is a notification:

Notice: This project is no longer maintained.

If I were you, I would start using an official successor of the Microsoft Ajax Minifier - NUglify

OK - will check it out.
I'm using it combined with RequestReduce - any chance there is a successor of that as well?

@Taritsyn
Copy link

Taritsyn commented Nov 5, 2021

I'm using it combined with RequestReduce - any chance there is a successor of that as well?

I doubt it, because the RequestReduce has not been updated for a very long time.

@trullock
Copy link

👋 Nuglify maintainer here, yes, use that

@dgasaway
Copy link

@pvkekem Since you seem to have made a successful change/PR with the current code, I'd like to ask a question, if you don't mind. I cloned master, opened the solution, and tried to build, but got build errors in the JSUnitTest project. For example Error 29 The type or namespace name 'JSError' could not be found (are you missing a using directive or an assembly reference?) D:\dev\AjaxMin\JSUnitTest\Common\TestHelper.cs 679 41 JSUnitTest. Is there something special you did to get a clean build?

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

Successfully merging this pull request may close these issues.

4 participants