Fix webpack dsl with closure
(cherry picked from commit 795e0eef200bb24b9cba06002b48737c01de02be)
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ interface KotlinJsBrowserDsl : KotlinJsSubTargetDsl {
|
||||
|
||||
fun webpackTask(body: KotlinWebpack.() -> Unit)
|
||||
fun webpackTask(fn: Closure<*>) {
|
||||
testTask {
|
||||
webpackTask {
|
||||
ConfigureUtil.configure(fn, this)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user