Renamed module / framework to Bankmeister

This commit is contained in:
dankito 2024-09-19 23:25:31 +02:00
parent 8707c5e3d7
commit 1f19da85f3
2 changed files with 4 additions and 4 deletions

View File

@ -22,11 +22,11 @@ kotlin {
js { js {
moduleName = "composeApp" moduleName = "Bankmeister"
browser { browser {
val projectDirPath = project.projectDir.path val projectDirPath = project.projectDir.path
commonWebpackConfig { commonWebpackConfig {
outputFileName = "composeApp.js" outputFileName = "Bankmeister.js"
devServer = (devServer ?: KotlinWebpackConfig.DevServer()).apply { devServer = (devServer ?: KotlinWebpackConfig.DevServer()).apply {
static = (static ?: mutableListOf()).apply { static = (static ?: mutableListOf()).apply {
// Serve sources to debug inside browser // Serve sources to debug inside browser
@ -54,7 +54,7 @@ kotlin {
iosSimulatorArm64() iosSimulatorArm64()
).forEach { iosTarget -> ).forEach { iosTarget ->
iosTarget.binaries.framework { iosTarget.binaries.framework {
baseName = "ComposeApp" baseName = "BankmeisterFramework"
isStatic = false isStatic = false
} }

View File

@ -1,6 +1,6 @@
import UIKit import UIKit
import SwiftUI import SwiftUI
import ComposeApp import BankmeisterFramework
struct ComposeView: UIViewControllerRepresentable { struct ComposeView: UIViewControllerRepresentable {
func makeUIViewController(context: Context) -> UIViewController { func makeUIViewController(context: Context) -> UIViewController {