Skip to content

Commit

Permalink
Readme. Instruction for lazy components
Browse files Browse the repository at this point in the history
  • Loading branch information
turansky committed Sep 14, 2024
1 parent 8416385 commit 9601d99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ Steps:

1. Configure Kotlin/JS
* target -`es2015`
* ([example](https://github.com/JetBrains/kotlin-wrappers/blob/fdc8fb9b8ac2b13ba151449e13977a0327e7e3df/examples/buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts#L35))
* [example](https://github.com/JetBrains/kotlin-wrappers/blob/fdc8fb9b8ac2b13ba151449e13977a0327e7e3df/examples/buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts#L35)
* granularity - `per-file`
* ([example](https://github.com/JetBrains/kotlin-wrappers/blob/fdc8fb9b8ac2b13ba151449e13977a0327e7e3df/examples/gradle.properties#L7))
* [example](https://github.com/JetBrains/kotlin-wrappers/blob/fdc8fb9b8ac2b13ba151449e13977a0327e7e3df/examples/gradle.properties#L7)
2. Mark lazy components with `@Lazy` annotations
* Important - component must be single imported runtime entity from file
3. PROFIT
Expand Down

0 comments on commit 9601d99

Please sign in to comment.