Open cjahv opened 3 years ago
diff --git a/app/pages/upload/page.js b/app/pages/upload/page.js
index d28a05c..46f2044 100644
--- a/app/pages/upload/page.js
+++ b/app/pages/upload/page.js
@@ -24,6 +24,7 @@ module.exports = function() {
fileReader.readAsText(files[0]);
fileReader.onload = function() {
var data = fileReader.result;
+ data = data.replace(/"hidden modules"/g, `"hidden modules","name":"hidden modules","chunks":[]`);
app.load(JSON.parse(data));
$(".modal").modal("hide");
app.loadPage.apply(app, nextPage);
😄
Document:
https://webpack.js.org/configuration/stats/#statsexcludemodules
Error Anchor:
https://github.com/webpack/analyse/blob/9637830d718935841bc2539e5741c1b617f8ea08/app/pages/modules/modules.pug#L17
https://github.com/webpack/analyse/blob/9637830d718935841bc2539e5741c1b617f8ea08/app/pages/modules/modules.pug#L20
https://github.com/webpack/analyse/blob/9637830d718935841bc2539e5741c1b617f8ea08/app/pages/chunk/chunk.pug#L89
https://github.com/webpack/analyse/blob/9637830d718935841bc2539e5741c1b617f8ea08/app/pages/chunk/chunk.pug#L92