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.
1 parent a940b50 commit baabb9aCopy full SHA for baabb9a
src/core/transform.ts
@@ -43,7 +43,7 @@ export default defineComponent({
43
}
44
45
function nameProcess(id: string, mode: Options['mode']) {
46
- const commonId = id.replaceAll('\\', '/').split('?')[0]
+ const commonId = id.replace(/\\/g, '/').split('?')[0]
47
if (typeof mode === 'string') {
48
const parseUrl = pathParse(commonId)
49
const fileName = parseUrl.name
0 commit comments