Gradle, js: revert to storing compile output inside node_modules

#KT-30530
Currently kotlin JS compiler generated `require('a.js')` for test -> main
dependencies. This is not worked in layout with compile output at project
work dir (will work if compiler will generate `require('a_test.js')`).
This commit is contained in:
Sergey Rostov
2019-05-14 15:08:18 +03:00
parent b9f69ffe79
commit a13a86a543
@@ -32,14 +32,7 @@ enum class NpmProjectLayout {
nodeJsWorldDir.resolve("packages").resolve(projectPackage)
}
return object : NpmProject(
project,
workDir,
searchInParents = true
) {
override val compileOutputCopyDest: File?
get() = nodeWorkDir
}
return NpmProject(project, workDir, searchInParents = true)
}
},
BUILD_DIR {