Skip to content

Commit

Permalink
fix(NA): dont clean dll module if it is a package json file (elastic#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic committed Aug 12, 2019
1 parent 019aebf commit a51ed7f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a51ed7f

Please sign in to comment.