Enable changing the build profile used by RequireJS

This commit is contained in:
Giovanni Cimolin da Silva
2019-04-12 15:22:56 -03:00
parent 3e8d22e3e4
commit 3189db2781

View File

@@ -173,6 +173,9 @@ if STATIC_URL_BASE:
if not STATIC_URL.endswith("/"):
STATIC_URL += "/"
# Allow overriding build profile used by RequireJS with one
# contained on a custom theme
REQUIRE_BUILD_PROFILE = ENV_TOKENS.get('REQUIRE_BUILD_PROFILE', REQUIRE_BUILD_PROFILE)
# The following variables use (or) instead of the default value inside (get). This is to enforce using the Lazy Text
# values when the varibale is an empty string. Therefore, setting these variable as empty text in related