summaryrefslogtreecommitdiff
path: root/sw-ui/src/main/kotlin/WebpackUtils.kt
blob: dde1140a65e5f8cb98a65637d12a07756d1468b6 (plain)
1
2
3
4
5
6
7
8
9
package webpack

external val process: Process

external interface Process {
    val env: dynamic
}

fun isProdEnv(): Boolean = process.env.NODE_ENV == "production"
bgstack15