Skip to content
Snippets Groups Projects
Commit aa39eb07 authored by Maxim Shafirov's avatar Maxim Shafirov Committed by GitHub
Browse files

Merge pull request #1 from SerCeMan/master

Add SourceMaps extracting from zip
parents beae0341 4f309e31
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