imports to not use .component

This commit is contained in:
konnorrogers
2023-08-01 11:55:41 -04:00
parent 65b6899378
commit 8efa82ecaf

View File

@@ -167,7 +167,7 @@ export default {
//
const terms = [
{ from: /^src\//, to: '' }, // Strip the src/ prefix
{ from: /\.(t|j)sx?$/, to: '.js' } // Convert .ts to .js
{ from: /\.component.(t|j)sx?$/, to: '.js' } // Convert .ts to .js
];
mod.path = replace(mod.path, terms);