Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jeff
funkwhale
Commits
80ed06db
Verified
Commit
80ed06db
authored
Feb 21, 2022
by
Kasper Seweryn
🥞
Browse files
Remove @/lodash.js
Vite handles tree shaking out of the box, so cherry picking modules is now pointless
parent
db86483f
Changes
57
Hide whitespace changes
Inline
Side-by-side
front/src/App.vue
View file @
80ed06db
...
...
@@ -48,7 +48,7 @@
<
script
>
import
axios
from
'
axios
'
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
import
{
mapState
,
mapGetters
}
from
'
vuex
'
import
{
WebSocketBridge
}
from
'
django-channels
'
import
GlobalEvents
from
'
@/components/utils/global-events.vue
'
...
...
front/src/components/About.vue
View file @
80ed06db
...
...
@@ -250,7 +250,7 @@
<
script
>
import
{
mapState
}
from
'
vuex
'
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
import
showdown
from
'
showdown
'
import
{
humanSize
}
from
'
@/filters
'
...
...
front/src/components/AboutPod.vue
View file @
80ed06db
...
...
@@ -434,7 +434,7 @@ We render some markdown to html here, the content is set by the admin so we shou
<
script
>
import
{
mapState
}
from
'
vuex
'
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
import
showdown
from
'
showdown
'
export
default
{
...
...
front/src/components/Footer.vue
View file @
80ed06db
...
...
@@ -213,7 +213,7 @@
<
script
>
import
{
mapState
}
from
'
vuex
'
import
ThemesMixin
from
'
@/components/mixins/Themes.vue
'
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
export
default
{
mixins
:
[
ThemesMixin
],
...
...
front/src/components/Home.vue
View file @
80ed06db
...
...
@@ -325,7 +325,7 @@
</template>
<
script
>
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
import
{
mapState
}
from
'
vuex
'
import
showdown
from
'
showdown
'
import
AlbumWidget
from
'
@/components/audio/album/Widget.vue
'
...
...
front/src/components/Pagination.vue
View file @
80ed06db
...
...
@@ -37,7 +37,7 @@
</template>
<
script
>
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
export
default
{
props
:
{
...
...
front/src/components/Queue.vue
View file @
80ed06db
...
...
@@ -345,7 +345,7 @@
import
{
mapState
,
mapGetters
,
mapActions
}
from
'
vuex
'
import
$
from
'
jquery
'
import
moment
from
'
moment
'
import
lodash
from
'
@/
lodash
'
import
lodash
from
'
lodash
'
import
time
from
'
@/utils/time.js
'
import
{
createFocusTrap
}
from
'
focus-trap
'
import
TrackFavoriteIcon
from
'
@/components/favorites/TrackFavoriteIcon.vue
'
...
...
front/src/components/SetInstanceModal.vue
View file @
80ed06db
...
...
@@ -107,7 +107,7 @@
<
script
>
import
Modal
from
'
@/components/semantic/Modal.vue
'
import
axios
from
'
axios
'
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
export
default
{
components
:
{
...
...
front/src/components/admin/SettingsGroup.vue
View file @
80ed06db
...
...
@@ -157,7 +157,7 @@
<
script
>
import
axios
from
'
axios
'
import
lodash
from
'
@/
lodash
'
import
lodash
from
'
lodash
'
import
SignupFormBuilder
from
'
@/components/admin/SignupFormBuilder.vue
'
export
default
{
...
...
front/src/components/admin/SignupFormBuilder.vue
View file @
80ed06db
...
...
@@ -161,7 +161,7 @@
</
template
>
<
script
>
import
lodash
from
'
@/
lodash
'
import
lodash
from
'
lodash
'
import
SignupForm
from
'
@/components/auth/SignupForm.vue
'
...
...
front/src/components/audio/ChannelEntries.vue
View file @
80ed06db
...
...
@@ -54,7 +54,7 @@
</template>
<
script
>
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
import
axios
from
'
axios
'
import
PodcastTable
from
'
@/components/audio/podcast/Table.vue
'
import
TrackTable
from
'
@/components/audio/track/Table.vue
'
...
...
front/src/components/audio/ChannelSeries.vue
View file @
80ed06db
...
...
@@ -53,7 +53,7 @@
</template>
<
script
>
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
import
axios
from
'
axios
'
import
ChannelSerieCard
from
'
@/components/audio/ChannelSerieCard.vue
'
import
AlbumCard
from
'
@/components/audio/album/Card.vue
'
...
...
front/src/components/audio/ChannelsWidget.vue
View file @
80ed06db
...
...
@@ -37,7 +37,7 @@
</template>
<
script
>
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
import
axios
from
'
axios
'
import
ChannelCard
from
'
@/components/audio/ChannelCard.vue
'
...
...
front/src/components/audio/EmbedWizard.vue
View file @
80ed06db
...
...
@@ -106,7 +106,7 @@
<
script
>
import
{
mapState
}
from
'
vuex
'
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
export
default
{
props
:
{
...
...
front/src/components/audio/Player.vue
View file @
80ed06db
...
...
@@ -345,7 +345,7 @@ import { mapState, mapGetters, mapActions } from 'vuex'
import
GlobalEvents
from
'
@/components/utils/global-events.vue
'
import
{
toLinearVolumeScale
}
from
'
@/audio/volume.js
'
import
{
Howl
,
Howler
}
from
'
howler
'
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
import
url
from
'
@/utils/url
'
import
axios
from
'
axios
'
import
VolumeControl
from
'
./VolumeControl.vue
'
...
...
front/src/components/audio/Search.vue
View file @
80ed06db
...
...
@@ -69,7 +69,7 @@
</template>
<
script
>
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
import
axios
from
'
axios
'
import
logger
from
'
@/logging
'
import
AlbumCard
from
'
@/components/audio/album/Card.vue
'
...
...
front/src/components/audio/SearchBar.vue
View file @
80ed06db
...
...
@@ -23,7 +23,7 @@
<
script
>
import
jQuery
from
'
jquery
'
import
router
from
'
@/router
'
import
lodash
from
'
@/
lodash
'
import
lodash
from
'
lodash
'
import
GlobalEvents
from
'
@/components/utils/global-events.vue
'
export
default
{
...
...
front/src/components/audio/track/Table.vue
View file @
80ed06db
...
...
@@ -158,7 +158,7 @@
</
template
>
<
script
>
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
import
axios
from
'
axios
'
import
TrackRow
from
'
@/components/audio/track/Row.vue
'
import
TrackMobileRow
from
'
@/components/audio/track/MobileRow.vue
'
...
...
front/src/components/audio/track/Widget.vue
View file @
80ed06db
...
...
@@ -135,7 +135,7 @@
</template>
<
script
>
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
import
axios
from
'
axios
'
import
PlayButton
from
'
@/components/audio/PlayButton.vue
'
import
TagsList
from
'
@/components/tags/List.vue
'
...
...
front/src/components/auth/ApplicationForm.vue
View file @
80ed06db
...
...
@@ -119,7 +119,7 @@
</
template
>
<
script
>
import
_
from
'
@/
lodash
'
import
_
from
'
lodash
'
import
axios
from
'
axios
'
import
TranslationsMixin
from
'
@/components/mixins/Translations.vue
'
...
...
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment