Nikky
01/20/2020, 5:19 AMhttps://i.imgur.com/Zgf1rE8.png▾
Ilya Goncharov [JB]
01/20/2020, 8:12 AMCtrl/Cmd + O
and start to type your class name or original filename, and find necessary class or fileNikky
01/20/2020, 10:06 AMkotlin
in the source view ?iseki
01/20/2020, 11:27 AMNikky
01/20/2020, 12:00 PMsourceMap
and sourceMapEmbedSources
Nikky
01/20/2020, 2:20 PMtasks.getByName("browserProductionWebpack").apply {
doLast {
val rootDirPath = rootDir.absolutePath.replace('\\', '/')
val mapFile = project.buildDir.resolve("distributions/${project.name}.js.map")
mapFile.writeText(
mapFile.readText()
.replace("$rootDirPath/build/js/src/main/", "")
.replace("$rootDirPath/build/src/main/", "")
.replace("$rootDirPath/build/js/node_modules", "node_modules")
.replace(rootDirPath, rootDir.name)
)
}
}
Nikky
01/20/2020, 2:27 PM../../
?iseki
01/20/2020, 9:11 PMconfig.devtool=false
to a js file in webpack.config.d
iseki
01/20/2020, 9:24 PMNikky
01/21/2020, 4:58 AMsnrostov
01/28/2020, 11:30 AMNikky
01/28/2020, 11:41 AM