Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit be48e50

Browse files
committedSep 15, 2021
fix: 修复使用 globby 模块错误
1 parent d636f4f commit be48e50

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
 

‎packages/ts-lib-tools/src/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
remove,
1414
writeFile,
1515
} from 'fs-extra';
16-
import { globby } from 'globby';
16+
import globby from 'globby';
1717
import { join, resolve } from 'path';
1818
import prettier from 'prettier';
1919
import { rollup } from 'rollup';

‎packages/ts-lib-tools/src/simple-build/genReleasePackages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable import/no-extraneous-dependencies */
22
import { pathExists, readJSON, writeFile, writeJSON } from 'fs-extra';
3-
import { globby } from 'globby';
3+
import globby from 'globby';
44
import { resolve } from 'path';
55

66
import { DIST_ROOT, ROOT_DIR, SRC_ROOT } from './constants';

‎packages/ts-lib-tools/src/simple-build/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
remove,
1515
writeFile,
1616
} from 'fs-extra';
17-
import { globby } from 'globby';
17+
import globby from 'globby';
1818
import ora from 'ora';
1919
import { basename, dirname, resolve } from 'path';
2020

‎packages/ts-lib-tools/src/upgradePackageModule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { outputJSON, readJSON } from 'fs-extra';
2-
import { globby } from 'globby';
2+
import globby from 'globby';
33
import { isMonorepo, safePackageName } from 'ts-lib-scripts-utils';
44

55
import { resolveRoot } from './config/paths';

0 commit comments

Comments
 (0)
Please sign in to comment.