From 38db43ea977e93c6695e035ddc8069fcf0ff5da4 Mon Sep 17 00:00:00 2001 From: Bo Shang Date: Fri, 1 Oct 2021 12:52:33 -0500 Subject: [PATCH] Build commands are needed for AWS Amplify --- docs/deploy.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/deploy.md b/docs/deploy.md index 2c96060f9..70716ccce 100644 --- a/docs/deploy.md +++ b/docs/deploy.md @@ -116,9 +116,12 @@ When using the HTML5 router, you need to set up redirect rules that redirect all version: 0.1 frontend: phases: + preBuild: + commands: + - npm ci build: - commands: - - echo "Nothing to build" + commands: + - npm run build artifacts: baseDirectory: /docs files: