Skip to content

Commit 03cdbb0

Browse files
committed
Still check for prod env
1 parent e5fc755 commit 03cdbb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdks/hermes-engine/hermes-engine.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ require_relative "./hermes-utils.rb"
88

99
react_native_path = File.join(__dir__, "..", "..")
1010

11-
# Always use release build of hermes.
12-
build_type = :release
11+
# Whether Hermes is built for Release or Debug is determined by the PRODUCTION envvar.
12+
build_type = ENV['PRODUCTION'] == "1" ? :release : :debug
1313

1414
# package.json
1515
package = JSON.parse(File.read(File.join(react_native_path, "package.json")))

0 commit comments

Comments
 (0)