Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ошибки при сжатии css #43

Open
worstinme opened this issue Nov 23, 2017 · 1 comment · May be fixed by #62
Open

Ошибки при сжатии css #43

worstinme opened this issue Nov 23, 2017 · 1 comment · May be fixed by #62

Comments

@worstinme
Copy link

меняет width: calc(100% - 20px) на width:calc(100%-20px);
(убирает пробелы) что недопустимо ;(

@SunwelLight
Copy link

Возникла такая же проблема, есть решение?

nomelodic added a commit to nomelodic/yii2-assets-auto-compress that referenced this issue Jan 15, 2021
The mrclay/minify extension does not work correctly with relative paths, in particular those with ../ or ./. A separate function has been written that prepares paths based on the future location of the compiled file.

The natxet/cssmin extension does not correctly process already minified CSS code. Replaced with matthiasmullie/minify extension.

Fix skeeks-semenov#43
nomelodic added a commit to nomelodic/yii2-assets-auto-compress that referenced this issue Jan 15, 2021
The mrclay/minify extension did not handle relative paths correctly, in particular those with ../ and ./. It has written its own function that adjusts paths based on the initial location of the file and the final one.

The natxet/cssmin extension does not correctly process already minified code, so it was replaced with the matthiasmullie/minify extension.

Fix skeeks-semenov#43
@nomelodic nomelodic linked a pull request Jan 15, 2021 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants