New plugin: VcNarrator (#402)

Co-authored-by: Nico <nico@d3sox.me>
This commit is contained in:
Ven 2023-01-25 03:42:01 +01:00 committed by GitHub
parent d628924b59
commit 5d3148cf50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 335 additions and 1 deletions

View file

@ -73,7 +73,7 @@ export const globPlugins = {
continue;
}
const mod = `p${i}`;
code += `import ${mod} from "./${dir}/${file.replace(/.tsx?$/, "")}";\n`;
code += `import ${mod} from "./${dir}/${file.replace(/\.tsx?$/, "")}";\n`;
plugins += `[${mod}.name]:${mod},\n`;
i++;
}