fixed some namings of the webfonts

This commit is contained in:
Gamerboy59 2023-10-05 16:51:42 +02:00 committed by GitHub
parent 8ee3a1ee43
commit 72c49d8e60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View File

@ -3,8 +3,8 @@
"/css/app.css": "/css/app.css", "/css/app.css": "/css/app.css",
"/css/dark.css": "/css/dark.css", "/css/dark.css": "/css/dark.css",
"/css/light.css": "/css/light.css", "/css/light.css": "/css/light.css",
"/webfonts/webfa-regular-400.ttf": "/webfonts/webfa-regular-400.ttf", "/webfonts/fa-regular-400.ttf": "/webfonts/fa-regular-400.ttf",
"/webfonts/webfa-regular-400.woff2": "/webfonts/webfa-regular-400.woff2", "/webfonts/fa-regular-400.woff2": "/webfonts/fa-regular-400.woff2",
"/webfonts/webfa-solid-900.ttf": "/webfonts/webfa-solid-900.ttf", "/webfonts/fa-solid-900.ttf": "/webfonts/fa-solid-900.ttf",
"/webfonts/webfa-solid-900.woff2": "/webfonts/webfa-solid-900.woff2" "/webfonts/fa-solid-900.woff2": "/webfonts/fa-solid-900.woff2"
} }

8
webpack.mix.js vendored
View File

@ -16,16 +16,16 @@ mix.sass('resources/sass/app.scss', 'public/css').options({
processCssUrls: false processCssUrls: false
}).copy( }).copy(
'node_modules/@fortawesome/fontawesome-free/webfonts/fa-regular-400.ttf', 'node_modules/@fortawesome/fontawesome-free/webfonts/fa-regular-400.ttf',
'public/webfonts/webfa-regular-400.ttf' 'public/webfonts/fa-regular-400.ttf'
).copy( ).copy(
'node_modules/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2', 'node_modules/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2',
'public/webfonts/webfa-regular-400.woff2' 'public/webfonts/fa-regular-400.woff2'
).copy( ).copy(
'node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.ttf', 'node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.ttf',
'public/webfonts/webfa-solid-900.ttf' 'public/webfonts/fa-solid-900.ttf'
).copy( ).copy(
'node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2', 'node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2',
'public/webfonts/webfa-solid-900.woff2' 'public/webfonts/fa-solid-900.woff2'
); );
mix.postCss('resources/css/light.css', 'public/css'); mix.postCss('resources/css/light.css', 'public/css');
mix.postCss('resources/css/dark.css', 'public/css'); mix.postCss('resources/css/dark.css', 'public/css');