sass-zegarek z automatycznym minify?
Czy jest sposób na bieganie:
sass --watch a.scss:a.css
Ale czy a.css
skończy się minifikacją?
Jak uniknąć konieczności uruchamiania osobnego kroku minifikacji podczas kompilacji arkusza stylów?
200
3 answers
sass --watch a.scss:a.css --style compressed
Zapoznaj się z dokumentacją aktualizacji:
478
Author: tester,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2018-01-09 19:13:51
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2018-01-09 19:13:51
Jeśli używaszJetBrains edytorów takich jak IntelliJ IDEA, PhpStorm, WebStorm itd. Użyj następujących ustawień w Ustawieniach > obserwatorzy plików.
-
Konwertuj
style.scss
nastyle.css
Ustaw argumenty--no-cache --update $FileName$:$FileNameWithoutExtension$.css
I ścieżki wyjściowe do odświeżania
$FileNameWithoutExtension$.css
-
Konwertuj
style.scss
do kompresjistyle.min.css
Ustaw argumenty--no-cache --update $FileName$:$FileNameWithoutExtension$.min.css --style compressed
I ścieżki wyjściowe do refresh
$FileNameWithoutExtension$.min.css
19
Author: Madan Sapkota,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2016-04-28 03:26:07
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2016-04-28 03:26:07
Jeśli używasz kompasu:
compass watch --output-style compressed
12
Author: Olivier Loynet,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2015-07-01 18:23:21
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2015-07-01 18:23:21