We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab00ccf commit 76f395eCopy full SHA for 76f395e
1 file changed
amplify.yml
@@ -5,16 +5,21 @@ frontend:
5
commands:
6
- corepack enable
7
- corepack prepare pnpm@latest --activate
8
- - pnpm install
+ - pnpm install --frozen-lockfile
9
build:
10
11
- pnpm run build
12
artifacts:
13
+ # Next.js SSR requires both .next and standalone/serverless files
14
baseDirectory: .next
15
files:
16
- '**/*'
17
cache:
18
paths:
19
- node_modules/**/*
20
- .pnpm-store/**/*
-
21
+ customHeaders:
22
+ - pattern: '**/*'
23
+ headers:
24
+ - key: Cache-Control
25
+ value: public,max-age=0,must-revalidate
0 commit comments