summaryrefslogtreecommitdiff
path: root/sw-ui/src/main/kotlin/webpack/WebpackUtils.kt
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2023-07-06 00:16:45 +0200
committerJoffrey Bion <joffrey.bion@gmail.com>2023-07-06 00:30:55 +0200
commitcdaae5279e3f53c146df2500a8d7a1d4eae2f674 (patch)
tree55347f2839caaf4688f4f989e9568ffd7102db63 /sw-ui/src/main/kotlin/webpack/WebpackUtils.kt
parentUpgrade Kotlin JS wrappers to 1.0.0-pre.585 (diff)
downloadseven-wonders-main.tar.gz
seven-wonders-main.tar.bz2
seven-wonders-main.zip
Convert sw-ui module to Kotlin Multiplatform gradle pluginmain
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