fix localimports path ending
This commit is contained in:
parent
9699b16dbd
commit
7da32c37d2
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ const debugResolve = {
|
||||||
return `${process.cwd()}/../yjs/src/index.js`
|
return `${process.cwd()}/../yjs/src/index.js`
|
||||||
}
|
}
|
||||||
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…
Reference in a new issue