Skip to content
Snippets Groups Projects
Commit 4f309e31 authored by Sergey Tselovalnikov's avatar Sergey Tselovalnikov
Browse files

Add SourceMaps extracting from zip

parent beae0341
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -74,7 +74,7 @@ class KWP implements Plugin<Project> {
for (zipEntry in zip.entries()) {
if (zipEntry.isDirectory()) continue
 
if (zipEntry.name.endsWith(".meta.js")) {
if (zipEntry.name.endsWith(".meta.js") || zipEntry.name.endsWith('.js.map')) {
new File(targetFolder, zipEntry.name).text = zip.getInputStream(zipEntry).text
targets++
}
Loading
Loading
@@ -83,7 +83,7 @@ class KWP implements Plugin<Project> {
targets++
}
 
if (targets == 2) break
if (targets == 3) break
}
 
targetFile.setLastModified(jar.lastModified())
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment