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.
included_files
1 parent d40beb0 commit 71f7bf2Copy full SHA for 71f7bf2
packages/runtime/src/helpers/config.ts
@@ -170,10 +170,9 @@ export const configureHandlerFunctions = async ({
170
if (splitApiRoutes(featureFlags)) {
171
for (const apiLambda of apiLambdas) {
172
const { functionName, includedFiles } = apiLambda
173
- // TODO: add all the nextRoot/wasm/excludedModules stuff from above
174
netlifyConfig.functions[functionName] ||= { included_files: [] }
175
netlifyConfig.functions[functionName].node_bundler = 'none'
176
- netlifyConfig.functions[functionName].included_files = includedFiles
+ netlifyConfig.functions[functionName].included_files.push(...includedFiles)
177
}
178
} else {
179
configureFunction('_api_*')
0 commit comments