Skip to content

Commit

Permalink
Fix wasm module and file name
Browse files Browse the repository at this point in the history
  • Loading branch information
zTrap committed Mar 30, 2024
1 parent 9a44290 commit e4fa31d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The simple multiplatform helper for build [Bezier curves](https://en.wikipedia.o
## Install

```gradle
implementation 'ru.ztrap:beziercurve:1.0.4'
implementation 'ru.ztrap:beziercurve:${latestVersion}'
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ kotlin {

@OptIn(ExperimentalWasmDsl::class)
wasmJs {
moduleName = PublishingInfo.Artifact.NAME
moduleName = PublishingInfo.Artifact.ID
browser {
commonWebpackConfig {
outputFileName = "${PublishingInfo.Artifact.NAME}.js"
outputFileName = "${PublishingInfo.Artifact.ID}.js"
devServer = (devServer ?: KotlinWebpackConfig.DevServer()).apply {
static = (static ?: mutableListOf()).apply {
// Serve sources to debug inside browser
Expand Down
2 changes: 1 addition & 1 deletion convention-plugins/src/main/kotlin/PublishingInfo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ object PublishingInfo {
const val ID = BASE_ARTIFACT_NAME
const val NAME = "Bezier curves creator"
const val DESCRIPTION = "The simple multiplatform helper for build Bezier curves"
const val VERSION = "1.0.4"
const val VERSION = "1.0.5"
}
}

0 comments on commit e4fa31d

Please sign in to comment.