Css support
This commit is contained in:
parent
7971335558
commit
76fd9dfa57
@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
## [0.8.4]
|
## [0.8.4]
|
||||||
### Added
|
### Added
|
||||||
- Adaptive support for host OS in native
|
- Adaptive support for host OS in native
|
||||||
|
- CSS support for JS targets
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Kotlin 1.4.31
|
- Kotlin 1.4.31
|
||||||
- Coroutines 1.4.3
|
- Coroutines 1.4.3
|
||||||
|
@ -11,7 +11,6 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile
|
|||||||
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
|
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
|
||||||
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
|
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
|
||||||
import ru.mipt.npm.gradle.internal.applyRepos
|
import ru.mipt.npm.gradle.internal.applyRepos
|
||||||
import ru.mipt.npm.gradle.internal.applySettings
|
|
||||||
import ru.mipt.npm.gradle.internal.fromJsDependencies
|
import ru.mipt.npm.gradle.internal.fromJsDependencies
|
||||||
|
|
||||||
open class KScienceCommonPlugin : Plugin<Project> {
|
open class KScienceCommonPlugin : Plugin<Project> {
|
||||||
@ -62,7 +61,11 @@ open class KScienceCommonPlugin : Plugin<Project> {
|
|||||||
explicitApiWarning()
|
explicitApiWarning()
|
||||||
|
|
||||||
js(IR) {
|
js(IR) {
|
||||||
browser()
|
browser{
|
||||||
|
commonWebpackConfig {
|
||||||
|
cssSupport.enabled = true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets["main"].apply {
|
sourceSets["main"].apply {
|
||||||
@ -97,7 +100,11 @@ open class KScienceCommonPlugin : Plugin<Project> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
js(IR) {
|
js(IR) {
|
||||||
browser()
|
browser{
|
||||||
|
commonWebpackConfig {
|
||||||
|
cssSupport.enabled = true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets.invoke {
|
sourceSets.invoke {
|
||||||
|
Loading…
Reference in New Issue
Block a user