kopia lustrzana https://github.com/shoelace-style/shoelace
imports to not use .component
rodzic
65b6899378
commit
8efa82ecaf
|
@ -167,7 +167,7 @@ export default {
|
||||||
//
|
//
|
||||||
const terms = [
|
const terms = [
|
||||||
{ from: /^src\//, to: '' }, // Strip the src/ prefix
|
{ 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);
|
mod.path = replace(mod.path, terms);
|
||||||
|
|
Ładowanie…
Reference in New Issue