summaryrefslogtreecommitdiff
path: root/sw-ui/src/main/kotlin/webpack/WebpackUtils.kt
diff options
context:
space:
mode:
Diffstat (limited to 'sw-ui/src/main/kotlin/webpack/WebpackUtils.kt')
-rw-r--r--sw-ui/src/main/kotlin/webpack/WebpackUtils.kt9
1 files changed, 0 insertions, 9 deletions
diff --git a/sw-ui/src/main/kotlin/webpack/WebpackUtils.kt b/sw-ui/src/main/kotlin/webpack/WebpackUtils.kt
deleted file mode 100644
index dde1140a..00000000
--- a/sw-ui/src/main/kotlin/webpack/WebpackUtils.kt
+++ /dev/null
@@ -1,9 +0,0 @@
-package webpack
-
-external val process: Process
-
-external interface Process {
- val env: dynamic
-}
-
-fun isProdEnv(): Boolean = process.env.NODE_ENV == "production"
bgstack15