fix localimports path ending

This commit is contained in:
Kevin Jahns 2020-01-14 02:37:01 +01:00
parent 9699b16dbd
commit 7da32c37d2

View file

@ -36,7 +36,7 @@ const debugResolve = {
return `${process.cwd()}/../yjs/src/index.js`
}
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])) {
return `${process.cwd()}/../${importee}`