We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b8c287 + 57d362d commit 8d72e59Copy full SHA for 8d72e59
src/export-functions.ts
@@ -16,7 +16,7 @@ export function funcNameFromRelPathDefault(relPath: string): string {
16
const funcName = relDirPathFunctionNameChunk
17
? `${relDirPathFunctionNameChunk}${sep}${fileNameFunctionNameChunk}`
18
: fileNameFunctionNameChunk;
19
- return funcName.replace(sep, '-');
+ return funcName.split(sep).join('-');
20
}
21
22
/**
0 commit comments