Skip to content

Commit

Permalink
Merge pull request #2461 from zonemeen/refactor/simplify-import
Browse files Browse the repository at this point in the history
refactor: simplify the import path
  • Loading branch information
zonemeen committed Jun 1, 2023
2 parents 62d1110 + 199f392 commit f9cfd16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/client/theme-default/composables/outline.ts
@@ -1,7 +1,7 @@
import type { DefaultTheme } from 'vitepress/theme'
import { onMounted, onUnmounted, onUpdated, type Ref } from 'vue'
import type { Header } from '../../shared'
import { useAside } from '../composables/aside'
import { useAside } from './aside'
import { throttleAndDebounce } from '../support/utils'

// magic number to avoid repeated retrieval
Expand Down
2 changes: 1 addition & 1 deletion src/node/plugins/localSearchPlugin.ts
Expand Up @@ -4,7 +4,7 @@ import MiniSearch from 'minisearch'
import fs from 'fs-extra'
import _debug from 'debug'
import type { SiteConfig } from '../config'
import { createMarkdownRenderer } from '../markdown/markdown'
import { createMarkdownRenderer } from '../markdown'
import { resolveSiteDataByRoute, slash } from '../shared'

const debug = _debug('vitepress:local-search')
Expand Down
2 changes: 1 addition & 1 deletion src/node/siteConfig.ts
Expand Up @@ -7,7 +7,7 @@ import {
type SiteData,
type SSGContext
} from './shared'
import type { MarkdownOptions } from './markdown/markdown'
import type { MarkdownOptions } from './markdown'
import type { Options as VuePluginOptions } from '@vitejs/plugin-vue'
import { type Logger, type UserConfig as ViteConfig } from 'vite'

Expand Down

0 comments on commit f9cfd16

Please sign in to comment.