Skip to content

Commit

Permalink
fix: upload missing js when set dirtyCheck to false
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyuchenzh authored Oct 13, 2020
1 parent 2a2452c commit ea17863
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,7 @@ UploadPlugin.prototype.apply = function (compiler) {
// and uploaded right above
const manifestList = dirtyCheck
? jsArr
: jsArr.filter(
(js) =>
!commonChunksWAbs.includes(js) && !chunkArrWAbs.includes(js)
)
: jsArr.filter((js) => !commonChunksWAbs.includes(js))
await updateScriptSrc(manifestList, newChunkMap)
// only js here
const adjustedFiles = [...manifestList]
Expand Down

0 comments on commit ea17863

Please sign in to comment.