Move INLINE_RUNTIME_CHUNK flag to scripts definition

We _always_ want INLINE_RUNTIME_CHUNK to be false when building the ui,
even if someone happens to unexpectedly make a production build without
using the top-level make targets for some reason.
This commit is contained in:
Jake McDermott
2020-12-08 12:42:00 -05:00
parent b3266f6c62
commit 15704e55e1
2 changed files with 2 additions and 2 deletions

View File

@@ -474,7 +474,7 @@ ui-release: ui-devel
ui-devel: awx/ui_next/node_modules
$(NPM_BIN) --prefix awx/ui_next run extract-strings
$(NPM_BIN) --prefix awx/ui_next run compile-strings
INLINE_RUNTIME_CHUNK=false $(NPM_BIN) --prefix awx/ui_next run build
$(NPM_BIN) --prefix awx/ui_next run build
git checkout awx/ui_next/src/locales
mkdir -p awx/public/static/css
mkdir -p awx/public/static/js