Skip to content

Commit 942793a

Browse files
committed
fix makefile
1 parent 73de128 commit 942793a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ build: src/ cloudformation/ docs/
5959
cp -r src/api/resources/ dist/api/resources
6060
rm -rf dist/lambda/sqs
6161
sam build --template-file cloudformation/main.yml
62-
cp -r node_modules/aws-crt/ .aws-sam/build/AppApiLambdaFunction/node_modules
62+
mkdir -p .aws-sam/build/AppApiLambdaFunction/node_modules/aws-crt/
63+
cp -r node_modules/aws-crt/dist .aws-sam/build/AppApiLambdaFunction/node_modules/aws-crt
6364

6465
local:
6566
VITE_BUILD_HASH=$(GIT_HASH) yarn run dev

0 commit comments

Comments
 (0)