build: remove browser configuration from core modules to fix JS plugin conflict
Eliminated `browser {}` blocks from core library modules to resolve "Plugin loaded multiple times" error in Kotlin/JS Gradle builds. Adjusted to support a cleaner, centralized JS target configuration. Documented the root cause and workaround in troubleshooting logs.
This commit is contained in:
@@ -6,15 +6,10 @@ plugins {
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
||||
jvm()
|
||||
|
||||
js(IR) {
|
||||
binaries.library()
|
||||
// Explicitly select browser environment to satisfy Kotlin/JS compiler warning
|
||||
browser {
|
||||
testTask { enabled = false }
|
||||
}
|
||||
// browser {} block removed to fix "Plugin loaded multiple times" error.
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
Reference in New Issue
Block a user