fix(NA): dont clean dll module if it is a package json file (#42904)

This commit is contained in:
Tiago Costa 2019-08-12 17:13:00 +01:00 committed by GitHub
parent 556d98e499
commit 042307e48d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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