Verified Commit 80ed06db authored by Kasper Seweryn's avatar Kasper Seweryn 🥞
Browse files

Remove @/lodash.js

Vite handles tree shaking out of the box, so cherry picking modules is
now pointless
parent db86483f
......@@ -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'
......
......@@ -250,7 +250,7 @@
<script>
import { mapState } from 'vuex'
import _ from '@/lodash'
import _ from 'lodash'
import showdown from 'showdown'
import { humanSize } from '@/filters'
......
......@@ -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 {
......
......@@ -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],
......
......@@ -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'
......
......@@ -37,7 +37,7 @@
</template>
<script>
import _ from '@/lodash'
import _ from 'lodash'
export default {
props: {
......
......@@ -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'
......
......@@ -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: {
......
......@@ -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 {
......
......@@ -161,7 +161,7 @@
</template>
<script>
import lodash from '@/lodash'
import lodash from 'lodash'
import SignupForm from '@/components/auth/SignupForm.vue'
......
......@@ -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'
......
......@@ -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'
......
......@@ -37,7 +37,7 @@
</template>
<script>
import _ from '@/lodash'
import _ from 'lodash'
import axios from 'axios'
import ChannelCard from '@/components/audio/ChannelCard.vue'
......
......@@ -106,7 +106,7 @@
<script>
import { mapState } from 'vuex'
import _ from '@/lodash'
import _ from 'lodash'
export default {
props: {
......
......@@ -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'
......
......@@ -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'
......
......@@ -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 {
......
......@@ -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'
......
......@@ -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'
......
......@@ -119,7 +119,7 @@
</template>
<script>
import _ from '@/lodash'
import _ from 'lodash'
import axios from 'axios'
import TranslationsMixin from '@/components/mixins/Translations.vue'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment