-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #286 from mbakgun/fix/minor-changes
fix/minor-changes
- Loading branch information
Showing
7 changed files
with
45 additions
and
40 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
androidApp/src/androidMain/kotlin/com/mbakgun/mj/di/ViewModelModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package com.mbakgun.mj.di | ||
|
||
import org.koin.androidx.viewmodel.dsl.viewModel | ||
import org.koin.core.module.dsl.viewModelOf | ||
import org.koin.dsl.module | ||
import ui.MjImagesViewModel | ||
|
||
val viewModelModule = module { | ||
viewModel { MjImagesViewModel(get(), get()) } | ||
viewModelOf(::MjImagesViewModel) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
const TerserPlugin = require("terser-webpack-plugin"); | ||
|
||
config.optimization = config.optimization || {}; | ||
config.optimization.minimize = true; | ||
config.optimization.minimizer = [ | ||
new TerserPlugin({ | ||
terserOptions: { | ||
mangle: true, | ||
compress: false, | ||
output: { | ||
beautify: false, | ||
}, | ||
}, | ||
}), | ||
]; |