diff --git a/index.js b/index.js index 20cd398..12b5b58 100644 --- a/index.js +++ b/index.js @@ -11,7 +11,6 @@ MpvuePlugin.prototype.apply = function(compiler) { commonsChunkNames = commonsChunkNames.concat(chunkNames); } }) - let pages = Object.keys(entry); compilation.chunks.forEach(commonChunk => { const { files, chunks: childChunks, name } = commonChunk; let commonWxssFile = files.find(item => item.endsWith('.wxss'));