fix(core): update
This commit is contained in:
parent
5245e50f3d
commit
d0e3065d12
@ -16,8 +16,8 @@ export const type = (pathStringArg: string): TPathType => {
|
|||||||
/**
|
/**
|
||||||
* gets the dirname from import.meta.url
|
* gets the dirname from import.meta.url
|
||||||
*/
|
*/
|
||||||
export const getDirnameFromImportMetaUrl = () => {
|
export const getDirnameFromImportMetaUrl = (importMetaUrlArg: string) => {
|
||||||
|
return plugins.path.dirname(plugins.url.fileURLToPath(importMetaUrlArg));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user