Fix custom alias extensions
This commit is contained in:
parent
1ace0b3156
commit
4c4f1d0e63
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ const addAliasesForCustomComponentFolder = (name, aliasObject) => {
|
||||||
for (let i = 0; i < components.length; i++) {
|
for (let i = 0; i < components.length; i++) {
|
||||||
let folderName = components[i];
|
let folderName = components[i];
|
||||||
let aliasName = `@${name}/${folderName}`;
|
let aliasName = `@${name}/${folderName}`;
|
||||||
aliasObject[aliasName] = resolve(`${CUSTOM_ROOT}/${name}/${folderName}/index.js`);
|
aliasObject[aliasName] = resolve(`${CUSTOM_ROOT}/${name}/${folderName}/`);
|
||||||
}
|
}
|
||||||
return aliasObject;
|
return aliasObject;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue