diff --git a/README.md b/README.md index 2bfd048f8..4c200c5e6 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,17 @@ of README. ### Building Core UI for Production See ui/core/README.md Building for Production for more information on how to -build the Core UI. +build the Core UI. Be sure to set build-related environment variables as +necessary for your target environment, as described in the Core UI readme. + +To quickly produce a production build of Core UI, run from this folder: + +```bash +yarn install +yarn build:production:core +``` + +Assets are saved to `ui/core/dist/`. ### Committing diff --git a/package.json b/package.json index f121c3503..17d23d120 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "ui/*" ], "scripts": { + "build:production:core": "cd ui/core && yarn build:production", "lint": "yarn lint:addons:api && yarn lint:addons:auth && yarn lint:addons:rose && yarn lint:ui:core", "lint:addons:api": "echo \"\n\nlint: addons/api\n\" && cd addons/api && yarn lint", "lint:addons:auth": "echo \"\n\nlint: addons/auth\n\" && cd addons/auth && yarn lint",