Realmente minificar todas las tipografías
This commit is contained in:
parent
1a6ec2cdac
commit
92849e80f0
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -64,7 +64,7 @@ fa-%: always ## Agregar un ícono de Fork Awesome (reemplazar % por el nombre)
|
|||
@echo Agregando $* a la lista de íconos
|
||||
@grep -q "$*" fa.txt || grep '^$$fa-var-$*: ' node_modules/fork-awesome/scss/_variables.scss | sed -re "s/^.*: \"\\\(.*)\";/\1 $*/" >> fa.txt
|
||||
|
||||
fonts := $(wildcard assets/fonts/*.otf assets/fonts/*.ttf)
|
||||
fonts := $(patsubst %.otf,%-subset.woff2,$(wildcard assets/fonts/*))
|
||||
fonts: $(fonts) ## Minifica todas las tipografías
|
||||
|
||||
gfont: ## Descarga tipografías de Google Fonts (css="url del css")
|
||||
|
|
Loading…
Reference in a new issue