diff --git a/src/dev/build/tasks/nodejs_modules/clean_client_modules_on_dll_task.js b/src/dev/build/tasks/nodejs_modules/clean_client_modules_on_dll_task.js index aeab888104373..3ae7d33d24d68 100644 --- a/src/dev/build/tasks/nodejs_modules/clean_client_modules_on_dll_task.js +++ b/src/dev/build/tasks/nodejs_modules/clean_client_modules_on_dll_task.js @@ -73,6 +73,10 @@ export const CleanClientModulesOnDLLTask = { for (const relativeEntryPath of dllEntries) { const entryPath = `${baseDir}/${relativeEntryPath}`; + if (entryPath.endsWith('package.json')) { + continue; + } + // Clean a module included into the dll // and then write a blank file for each // entry file present into the dll