Skip to content

Commit 488876e

Browse files
committed
refactor(utils): use export star as syntax as possible
1 parent 6517ce1 commit 488876e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/@vuepress/utils/src/index.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import * as debug from 'debug'
22
import * as chalk from 'chalk'
3-
import * as fs from 'fs-extra'
43
import * as globby from 'globby'
54
import * as ora from 'ora'
6-
import * as path from 'upath'
75
import hash = require('hash-sum')
8-
export { debug, chalk, fs, globby, hash, ora, path }
6+
export { debug, chalk, globby, hash, ora }
7+
8+
export * as fs from 'fs-extra'
9+
export * as path from 'upath'
910

1011
export * from './hasExportDefault'
1112
export * from './logger'

0 commit comments

Comments
 (0)