Skip to content

Commit 1879ef1

Browse files
authored
Fixes after version bumps (#5408)
Addition to #5399 ## Release Notes N/A
1 parent 37181ab commit 1879ef1

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
prebuilds/fullsdk-linux
22
prebuilds/fullsdk-darwin
3+
bin
34
out
45
*.iml
56
.gradle

examples/imageviewer/webApp/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
1+
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
22
import org.jetbrains.kotlin.gradle.targets.js.ir.DefaultIncrementalSyncTask
33
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig
44

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

1313
kotlin {
1414
js {
15-
moduleName = "imageviewer"
15+
outputModuleName = "imageviewer"
1616
browser {
1717
commonWebpackConfig {
1818
outputFileName = "imageviewer.js"
@@ -24,7 +24,7 @@ kotlin {
2424

2525
@OptIn(ExperimentalWasmDsl::class)
2626
wasmJs {
27-
moduleName = "imageviewer"
27+
outputModuleName = "imageviewer"
2828
browser {
2929
// TODO: uncomment when https://youtrack.jetbrains.com/issue/KT-68614 is fixed (it doesn't work with configuration cache)
3030
// commonWebpackConfig {

examples/jetsnack/web/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
12
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig
23

34
plugins {
@@ -10,9 +11,9 @@ group = "com.example"
1011
version = "1.0-SNAPSHOT"
1112

1213
kotlin {
13-
@OptIn(org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl::class)
14+
@OptIn(ExperimentalWasmDsl::class)
1415
wasmJs {
15-
moduleName = "jetsnackwasmapp"
16+
outputModuleName = "jetsnackwasmapp"
1617
browser {
1718
commonWebpackConfig {
1819
outputFileName = "jetsnackwasmapp.js"

0 commit comments

Comments
 (0)