fix debug resolve
This commit is contained in:
parent
197932752e
commit
e089089413
@ -65,6 +65,6 @@
|
|||||||
"standard": "^11.0.1",
|
"standard": "^11.0.1",
|
||||||
"tui-jsdoc-template": "^1.2.2",
|
"tui-jsdoc-template": "^1.2.2",
|
||||||
"typescript": "^3.6.2",
|
"typescript": "^3.6.2",
|
||||||
"y-protocols": "0.0.6"
|
"y-protocols": "^0.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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}.js`
|
return `${process.cwd()}/../${importee}/src/${importee}.cjs`
|
||||||
}
|
}
|
||||||
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