Remove font-awesome npm package (#31512)

This commit is contained in:
Matt Jankowski 2024-08-20 11:59:47 -04:00 committed by GitHub
parent 4016fd5128
commit 4c4bcad866
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 0 additions and 13 deletions

View file

@ -1,5 +1,4 @@
import Rails from '@rails/ujs';
import 'font-awesome/css/font-awesome.css';
export function start() {
require.context('../images/', true, /\.(jpg|png|svg)$/);

View file

@ -25,7 +25,6 @@
%title= html_title
= stylesheet_pack_tag 'common', media: 'all', crossorigin: 'anonymous'
= theme_style_tags current_theme
-# Needed for the wicg-inert polyfill. It needs to be on it's own <style> tag, with this `id`
= stylesheet_pack_tag 'inert', media: 'all', crossorigin: 'anonymous', id: 'inert-style'

View file

@ -11,7 +11,6 @@
- if storage_host?
%link{ rel: 'dns-prefetch', href: storage_host }/
= stylesheet_pack_tag 'common', media: 'all', crossorigin: 'anonymous'
= theme_style_tags Setting.theme # Use the admin-configured theme here, even if logged in
= javascript_pack_tag 'common', integrity: true, crossorigin: 'anonymous'
= preload_pack_asset "locale/#{I18n.locale}-json.js"

View file

@ -5,7 +5,6 @@
%meta{ charset: 'utf-8' }/
%title= safe_join([yield(:page_title), Setting.default_settings['site_title']], ' - ')
%meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/
= stylesheet_pack_tag 'common', media: 'all', crossorigin: 'anonymous'
= theme_style_tags Setting.default_settings['theme']
= javascript_pack_tag 'common', crossorigin: 'anonymous'
= javascript_pack_tag 'error', crossorigin: 'anonymous'

View file

@ -70,7 +70,6 @@
"emoji-mart": "npm:emoji-mart-lazyload@latest",
"escape-html": "^1.0.3",
"file-loader": "^6.2.0",
"font-awesome": "^4.7.0",
"fuzzysort": "^3.0.0",
"glob": "^10.2.6",
"history": "^4.10.1",

View file

@ -2856,7 +2856,6 @@ __metadata:
eslint-plugin-react: "npm:^7.33.2"
eslint-plugin-react-hooks: "npm:^4.6.0"
file-loader: "npm:^6.2.0"
font-awesome: "npm:^4.7.0"
fuzzysort: "npm:^3.0.0"
glob: "npm:^10.2.6"
history: "npm:^4.10.1"
@ -8704,13 +8703,6 @@ __metadata:
languageName: node
linkType: hard
"font-awesome@npm:^4.7.0":
version: 4.7.0
resolution: "font-awesome@npm:4.7.0"
checksum: 10c0/1c456e2939c55192eed67db9c0efb8db3e92fd357ca189ca00030eb44acffa1e9f835288d2204c14b9a9c490a7b14b7090dfaff80ded6b2473f50a923dfb41e7
languageName: node
linkType: hard
"for-each@npm:^0.3.3":
version: 0.3.3
resolution: "for-each@npm:0.3.3"