Use import in build.gradle.kts

This commit is contained in:
Michael Bull 2024-03-03 01:42:25 +00:00
parent f19b0a9b11
commit 34cb35ffd5

View File

@ -1,3 +1,4 @@
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
import org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask
@ -18,7 +19,7 @@ kotlin {
linuxArm64()
@OptIn(org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl::class)
@OptIn(ExperimentalWasmDsl::class)
wasmJs {
binaries.executable()
nodejs()