diff --git a/src/dapp/libexec/dapp/dapp-remappings b/src/dapp/libexec/dapp/dapp-remappings index f1b16d390..f1ccab510 100755 --- a/src/dapp/libexec/dapp/dapp-remappings +++ b/src/dapp/libexec/dapp/dapp-remappings @@ -14,10 +14,10 @@ console.log(buildRemappings(deduplicate(buildDependencyTree("."))).join("\n")) // deps: [] // } function buildDependencyTree(prefix) { - const lib = `${prefix}/${process.env.DAPP_LIB}` + const lib = `${prefix}/${normalize(process.env.DAPP_LIB)}` return { name: prefix.split("/").pop(), - path: normalize(`${prefix}/${process.env.DAPP_SRC}`), + path: normalize(`${prefix}/${normalize(process.env.DAPP_SRC)}`), hash: hash(prefix), deps: ls(lib).map(p => buildDependencyTree(`${lib}/${p}`)) }