Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing lodash imports for cjs #491

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading