fa.txt
This commit is contained in:
parent
7dbe3bd57f
commit
0f3cde25d3
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -27,7 +27,7 @@ webpack-dev-server: ## Servidor de prueba de Webpack
|
|||
|
||||
# Tomar los códigos de los íconos de este archivo y copiarlos a fa.txt
|
||||
# node_modules/font-awesome/scss/_variables.scss
|
||||
whitelist = $(shell grep -v "^#" $< | sed "s/^/U+/" | tr "\n" ",")
|
||||
whitelist = $(shell grep -v "^#" fa.txt | sed "s/^/U+/" | tr "\n" ",")
|
||||
assets/fonts/forkawesome-webfont.woff2: fa.txt
|
||||
which glyphhanger || npm i -g glyphhanger
|
||||
glyphhanger --subset=node_modules/fork-awesome/fonts/forkawesome-webfont.ttf --formats=woff2 --whitelist=$(whitelist)
|
||||
|
|
Loading…
Reference in a new issue