From a9653ca1a8966b5aa4c3fba063bcb92adf24f570 Mon Sep 17 00:00:00 2001 From: Amos Wong Date: Thu, 25 Apr 2019 22:38:43 +0800 Subject: [PATCH] Mention usage of AsyncMFS in comment --- src/BundleAnalyzerPlugin.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/BundleAnalyzerPlugin.js b/src/BundleAnalyzerPlugin.js index 8877de07..888296a2 100644 --- a/src/BundleAnalyzerPlugin.js +++ b/src/BundleAnalyzerPlugin.js @@ -130,6 +130,9 @@ class BundleAnalyzerPlugin { getBundleDirFromCompiler() { switch (this.compiler.outputFileSystem.constructor.name) { case 'MemoryFileSystem': + + // Detect AsyncMFS used by Nuxt 2.5 that replaces webpack's MFS during development + // Related: #274 case 'AsyncMFS': return null; default: