diff --git a/build.gradle.kts b/build.gradle.kts index 0db977e..a193a4e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -37,7 +37,8 @@ kotlin { browser { webpackTask { destinationDirectory = outputDirectory - output.libraryTarget = "global" + output.library = "Web404" + output.libraryTarget = "this" cssSupport.enabled = true } diff --git a/src/main/kotlin/main.kt b/src/main/kotlin/main.kt index 3e21972..718e220 100644 --- a/src/main/kotlin/main.kt +++ b/src/main/kotlin/main.kt @@ -1,5 +1,3 @@ -package fr.username404.website - import kotlinx.browser.document import kotlinx.browser.window import kotlinx.html.dom.append diff --git a/src/main/resources/index.html b/src/main/resources/index.html index 6562420..f24a8a0 100644 --- a/src/main/resources/index.html +++ b/src/main/resources/index.html @@ -48,8 +48,6 @@ Source - + \ No newline at end of file