fix localimports path ending
This commit is contained in:
parent
e089089413
commit
882b9055c7
@ -26,7 +26,7 @@ const debugResolve = {
|
|||||||
}
|
}
|
||||||
if (localImports) {
|
if (localImports) {
|
||||||
if (customModules.has(importee.split('/')[0])) {
|
if (customModules.has(importee.split('/')[0])) {
|
||||||
return `${process.cwd()}/../${importee}/src/${importee}.cjs`
|
return `${process.cwd()}/../${importee}/src/${importee}.js`
|
||||||
}
|
}
|
||||||
if (customLibModules.has(importee.split('/')[0])) {
|
if (customLibModules.has(importee.split('/')[0])) {
|
||||||
return `${process.cwd()}/../${importee}`
|
return `${process.cwd()}/../${importee}`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user