File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,8 @@ export function removeSentryQueryFromPath(url: string): string {
4444}
4545
4646/**
47- * Extracts and sanitizes function re-export query parameters from a query string.
48- * If it is a default export, it is not considered for re-exporting. This function is mostly relevant for re-exporting
49- * serverless `handler` functions.
47+ * Extracts and sanitizes function re-export and function wrap query parameters from a query string.
48+ * If it is a default export, it is not considered for re-exporting.
5049 *
5150 * Only exported for testing.
5251 */
@@ -83,7 +82,8 @@ export function extractFunctionReexportQueryParameters(query: string): { wrap: s
8382
8483/**
8584 * Constructs a comma-separated string with all functions that need to be re-exported later from the server entry.
86- * It uses Rollup's `exportedBindings` to determine the functions to re-export
85+ * It uses Rollup's `exportedBindings` to determine the functions to re-export. Functions which should be wrapped
86+ * (e.g. serverless handlers) are wrapped by Sentry.
8787 */
8888export function constructWrappedFunctionExportQuery (
8989 exportedBindings : Record < string , string [ ] > | null ,
You can’t perform that action at this time.
0 commit comments