|
1 |
| -import { relative } from 'node:path' |
2 | 1 | import type fs from 'node:fs'
|
3 |
| -import process from 'node:process' |
4 |
| -import Debug from 'debug' |
5 | 2 | import type { UpdatePayload, ViteDevServer } from 'vite'
|
6 |
| -import { slash, throttle, toArray } from '@antfu/utils' |
7 | 3 | import type { ComponentInfo, Options, ResolvedOptions, Transformer } from '../types'
|
| 4 | +import { relative } from 'node:path' |
| 5 | +import process from 'node:process' |
| 6 | +import { slash, throttle, toArray } from '@antfu/utils' |
| 7 | +import Debug from 'debug' |
8 | 8 | import { DIRECTIVE_IMPORT_PREFIX } from './constants'
|
9 |
| -import { getNameFromFilePath, isExclude, matchGlobs, normalizeComponentInfo, parseId, pascalCase, resolveAlias } from './utils' |
10 |
| -import { resolveOptions } from './options' |
11 |
| -import { searchComponents } from './fs/glob' |
12 | 9 | import { writeDeclaration } from './declaration'
|
| 10 | +import { searchComponents } from './fs/glob' |
| 11 | +import { resolveOptions } from './options' |
13 | 12 | import transformer from './transformer'
|
| 13 | +import { getNameFromFilePath, isExclude, matchGlobs, normalizeComponentInfo, parseId, pascalCase, resolveAlias } from './utils' |
14 | 14 |
|
15 | 15 | const debug = {
|
16 | 16 | components: Debug('unplugin-vue-components:context:components'),
|
|
0 commit comments