We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b38a48 commit 993d52aCopy full SHA for 993d52a
.github/workflows/r_build-app.yml
@@ -131,6 +131,8 @@ jobs:
131
cp -R ./packages/app/.next ./packages/cdk-construct/lib/${{ inputs.APP_CONSTRUCT_FOLDER_NAME }}
132
rm -rf ./packages/cdk-construct/lib/${{ inputs.APP_CONSTRUCT_FOLDER_NAME }}/.next/cache
133
cp -R ./packages/app/next.config.js ./packages/cdk-construct/lib/${{ inputs.APP_CONSTRUCT_FOLDER_NAME }}
134
+ # Remove the SWC files from the runtime deps (these are dev time only)
135
+ rm -rf ./packages/app-entry/runtime-deps/node_modules/@next/swc-*
136
cp -R ./packages/app-entry/runtime-deps/node_modules ./packages/cdk-construct/lib/${{ inputs.APP_CONSTRUCT_FOLDER_NAME }}
137
138
# Prevent the static files from getting pulled into the Lambda
0 commit comments