[Gradle, JS] Null library and libraryTarget when they are null
^KT-43842 fixed
This commit is contained in:
+2
-2
@@ -302,8 +302,8 @@ data class KotlinWebpackConfig(
|
|||||||
? ${outputFileName!!.jsQuoted()}
|
? ${outputFileName!!.jsQuoted()}
|
||||||
: ${multiEntryOutput.jsQuoted()};
|
: ${multiEntryOutput.jsQuoted()};
|
||||||
},
|
},
|
||||||
library: "${output!!.library}",
|
${output!!.library?.let { "library: ${it.jsQuoted()}," } ?: ""}
|
||||||
libraryTarget: "${output!!.libraryTarget}",
|
${output!!.libraryTarget?.let { "libraryTarget: ${it.jsQuoted()}," } ?: ""}
|
||||||
globalObject: "${output!!.globalObject}"
|
globalObject: "${output!!.globalObject}"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user