Skip to content

Commit

Permalink
fixing lodash imports for cjs (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Jul 11, 2024
1 parent 4486098 commit ee432c4
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@explorer-1/vue",
"version": "0.1.0",
"version": "0.1.1",
"private": false,
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/src/components/BackToTop/BackToTop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import _throttle from 'lodash/throttle'
import _throttle from 'lodash/throttle.js'
import type { DebouncedFunc } from 'lodash'
import BaseButton from './../BaseButton/BaseButton.vue'
import IconDropdown from './../Icons/IconDropdown.vue'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
<script lang="ts">
import { defineComponent } from 'vue'
import type { PropType } from 'vue'
import _throttle from 'lodash/throttle'
import _throttle from 'lodash/throttle.js'
import type { DebouncedFunc } from 'lodash'
import type { Slide } from './MissionDetailHighlightsCarouselItem.vue'
// @ts-ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@

<script lang="ts">
import { defineComponent } from 'vue'
import _map from 'lodash/map'
import _without from 'lodash/without'
import _map from 'lodash/map.js'
import _without from 'lodash/without.js'
import NavLinkList from './../NavLinkList/NavLinkList.vue'
import NavHighlight from './../NavHighlight/NavHighlight.vue'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@

<script lang="ts">
import { defineComponent } from 'vue'
import _map from 'lodash/map'
import _without from 'lodash/without'
import _map from 'lodash/map.js'
import _without from 'lodash/without.js'
import NavLinkList from './../NavLinkList/NavLinkList.vue'
import NavSocial from './../NavSocial/NavSocial.vue'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
</template>
<script lang="ts">
// @ts-nocheck
import isEqual from 'lodash/isEqual'
import isEqual from 'lodash/isEqual.js'
export default {
name: 'SearchFilterGroup',
props: {
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/src/templates/edu/PageEduNewsDetail.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { computed } from 'vue'
import isEmpty from 'lodash/isEmpty'
import isEmpty from 'lodash/isEmpty.js'
import type { StreamfieldBlockData } from '../../components/BlockStreamfield/BlockStreamfield.vue'
import type {
ImageObject,
Expand Down

0 comments on commit ee432c4

Please sign in to comment.