diff --git a/src/plugin/plugin.js b/src/plugin/plugin.js index 0aa1aa6..9e19752 100644 --- a/src/plugin/plugin.js +++ b/src/plugin/plugin.js @@ -14,9 +14,18 @@ export default class VisualizerPlugin { apply(compiler) { compiler.plugin('emit', (compilation, callback) => { - let stats = compilation.getStats().toJson({chunkModules: true}); - let stringifiedStats = JSON.stringify(stats); - stringifiedStats = stringifiedStats.replace(/