Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
prebuilds/fullsdk-linux
prebuilds/fullsdk-darwin
bin
out
*.iml
.gradle
Expand Down
6 changes: 3 additions & 3 deletions examples/imageviewer/webApp/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.targets.js.ir.DefaultIncrementalSyncTask
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig

Expand All @@ -12,7 +12,7 @@ val rootDirPath = project.rootDir.path

kotlin {
js {
moduleName = "imageviewer"
outputModuleName = "imageviewer"
browser {
commonWebpackConfig {
outputFileName = "imageviewer.js"
Expand All @@ -24,7 +24,7 @@ kotlin {

@OptIn(ExperimentalWasmDsl::class)
wasmJs {
moduleName = "imageviewer"
outputModuleName = "imageviewer"
browser {
// TODO: uncomment when https://youtrack.jetbrains.com/issue/KT-68614 is fixed (it doesn't work with configuration cache)
// commonWebpackConfig {
Expand Down
5 changes: 3 additions & 2 deletions examples/jetsnack/web/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig

plugins {
Expand All @@ -10,9 +11,9 @@ group = "com.example"
version = "1.0-SNAPSHOT"

kotlin {
@OptIn(org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl::class)
@OptIn(ExperimentalWasmDsl::class)
wasmJs {
moduleName = "jetsnackwasmapp"
outputModuleName = "jetsnackwasmapp"
browser {
commonWebpackConfig {
outputFileName = "jetsnackwasmapp.js"
Expand Down