imports to not use .component

pull/1480/head
konnorrogers 2023-08-01 11:55:41 -04:00
rodzic 65b6899378
commit 8efa82ecaf
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);