mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-12-04 16:11:46 +01:00
Make constants imported from @fortawesome/free-solid-svg-icons ordered by name again (#3958)
* $ Make constants imported from @fortawesome/free-solid-svg-icons ordered by name again * ~ Add code comment about constant list ordering
This commit is contained in:
parent
692a3c7ca0
commit
1a6c9e98c9
@ -5,6 +5,8 @@ import router from './router/index'
|
||||
import store from './store/index'
|
||||
import i18n from './i18n/index'
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
// Please keep the list of constants sorted by name
|
||||
// to avoid code conflict and duplicate entries
|
||||
import {
|
||||
faAngleDown,
|
||||
faArrowDown,
|
||||
@ -26,6 +28,8 @@ import {
|
||||
faExchangeAlt,
|
||||
faExclamationCircle,
|
||||
faExternalLinkAlt,
|
||||
faEye,
|
||||
faEyeSlash,
|
||||
faFileDownload,
|
||||
faFileVideo,
|
||||
faFilter,
|
||||
@ -57,8 +61,6 @@ import {
|
||||
faTimes,
|
||||
faTimesCircle,
|
||||
faUsers,
|
||||
faEye,
|
||||
faEyeSlash,
|
||||
} from '@fortawesome/free-solid-svg-icons'
|
||||
import {
|
||||
faBitcoin,
|
||||
@ -72,6 +74,8 @@ Vue.config.devtools = process.env.NODE_ENV === 'development'
|
||||
Vue.config.performance = process.env.NODE_ENV === 'development'
|
||||
Vue.config.productionTip = process.env.NODE_ENV === 'development'
|
||||
|
||||
// Please keep the list of constants sorted by name
|
||||
// to avoid code conflict and duplicate entries
|
||||
library.add(
|
||||
// solid icons
|
||||
faAngleDown,
|
||||
@ -94,6 +98,8 @@ library.add(
|
||||
faExchangeAlt,
|
||||
faExclamationCircle,
|
||||
faExternalLinkAlt,
|
||||
faEye,
|
||||
faEyeSlash,
|
||||
faFileDownload,
|
||||
faFileVideo,
|
||||
faFilter,
|
||||
@ -125,8 +131,6 @@ library.add(
|
||||
faTimes,
|
||||
faTimesCircle,
|
||||
faUsers,
|
||||
faEye,
|
||||
faEyeSlash,
|
||||
|
||||
// brand icons
|
||||
faGithub,
|
||||
|
Loading…
Reference in New Issue
Block a user