Skip to content

Commit dbd84ac

Browse files
committed
chore: 修复引用报错
1 parent dbf3ce6 commit dbd84ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/globals.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { lodash } from '@walrus/shared-utils';
1+
import { _ } from '@walrus/shared-utils';
22

33
interface AnyObject {
4-
[key: string]: any
4+
[key: string]: any;
55
}
66

77
/**
@@ -23,9 +23,9 @@ function getGlobals(): AnyObject {
2323

2424
Object.keys(dependencies).forEach((item: string) => {
2525
if (isPansyPackage(item)) {
26-
globals[item] = lodash.camelCase(item.split('/')[1]);
26+
globals[item] = _.camelCase(item.split('/')[1]);
2727
}
28-
})
28+
});
2929

3030
return globals;
3131
}

0 commit comments

Comments
 (0)