aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/common.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/common.mjs')
-rw-r--r--scripts/build/common.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/common.mjs b/scripts/build/common.mjs
index 9e0023c..c6a082d 100644
--- a/scripts/build/common.mjs
+++ b/scripts/build/common.mjs
@@ -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++;
}