diff --git a/gulpfile.js b/gulpfile.js index 762592d..fec1cf3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -32,11 +32,18 @@ const paths = { dest: './dist/fonts/' }, faFonts: { - src: './node_modules/@fortawesome/fontawesome-free/webfonts/*', + src: [ + './node_modules/@fortawesome/fontawesome-free/webfonts/fa-brands-400.*', + './node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.*' + ], dest: './dist/webfonts/' }, faCss: { - src: './node_modules/@fortawesome/fontawesome-free/css/all.min.css', + src: [ + './node_modules/@fortawesome/fontawesome-free/css/brands.min.css', + './node_modules/@fortawesome/fontawesome-free/css/solid.min.css', + './node_modules/@fortawesome/fontawesome-free/css/fontawesome.min.css', + ], dest: './dist/css/' }, normalize: { diff --git a/package.json b/package.json index 0b20f30..15c9298 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "license": "GPL-3.0", "private": true, "dependencies": { - "@fortawesome/fontawesome-free": "^6.2.0", + "@fortawesome/fontawesome-free": "^6.5.1", "bootstrap": "^5.2.2", "normalize.css": "^8.0.1" }, diff --git a/partials/_includes.ascx b/partials/_includes.ascx index f260562..ccd7d19 100644 --- a/partials/_includes.ascx +++ b/partials/_includes.ascx @@ -1,8 +1,10 @@ - - + + + + @@ -15,7 +17,6 @@ var fonts = new string[] { "dist/webfonts/fa-brands-400", - "dist/webfonts/fa-regular-400", "dist/webfonts/fa-solid-900", "dist/fonts/OpenSans-Bold", "dist/fonts/OpenSans-BoldItalic", diff --git a/yarn.lock b/yarn.lock index d66e02b..e125a13 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@fortawesome/fontawesome-free@^6.2.0": - version "6.2.0" - resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-6.2.0.tgz#ba3510825b332816fe7190f28827f8cb33a298b5" - integrity sha512-CNR7qRIfCwWHNN7FnKUniva94edPdyQzil/zCwk3v6k4R6rR2Fr8i4s3PM7n/lyfPA6Zfko9z5WDzFxG9SW1uQ== +"@fortawesome/fontawesome-free@^6.5.1": + version "6.5.1" + resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-6.5.1.tgz#55cc8410abf1003b726324661ce5b0d1c10de258" + integrity sha512-CNy5vSwN3fsUStPRLX7fUYojyuzoEMSXPl7zSLJ8TgtRfjv24LOnOWKT2zYwaHZCJGkdyRnTmstR0P+Ah503Gw== "@jridgewell/gen-mapping@^0.3.0": version "0.3.2"