Skip to content

Commit 8199f16

Browse files
committed
more renaming
1 parent 25de0de commit 8199f16

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/nextjs/src/config/getBuildPluginOptions.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ function createSourcemapUploadAssetPatterns(
125125
/**
126126
* Creates ignore patterns for source map uploads
127127
*/
128-
function createSourcemapUploadIgnore(normalizedDistPath: string, widenClientFileUpload: boolean = false): string[] {
128+
function createSourcemapUploadIgnorePattern(
129+
normalizedDistPath: string,
130+
widenClientFileUpload: boolean = false,
131+
): string[] {
129132
const ignore: string[] = [];
130133

131134
// We only add main-* files if the user has not opted into it
@@ -147,7 +150,7 @@ function createSourcemapUploadIgnore(normalizedDistPath: string, widenClientFile
147150
/**
148151
* Creates file patterns for deletion after source map upload
149152
*/
150-
function createFilesToDeleteAfterUpload(
153+
function createFilesToDeleteAfterUploadPattern(
151154
normalizedDistPath: string,
152155
buildTool: BuildTool,
153156
deleteSourcemapsAfterUpload: boolean,
@@ -253,9 +256,9 @@ export function getBuildPluginOptions({
253256
widenClientFileUpload,
254257
);
255258

256-
const sourcemapUploadIgnore = createSourcemapUploadIgnore(normalizedDistDirAbsPath, widenClientFileUpload);
259+
const sourcemapUploadIgnore = createSourcemapUploadIgnorePattern(normalizedDistDirAbsPath, widenClientFileUpload);
257260

258-
const filesToDeleteAfterUpload = createFilesToDeleteAfterUpload(
261+
const filesToDeleteAfterUpload = createFilesToDeleteAfterUploadPattern(
259262
normalizedDistDirAbsPath,
260263
buildTool,
261264
deleteSourcemapsAfterUpload,

0 commit comments

Comments
 (0)