Work around bug in webpack-bundle-analyzer plugin which interprets .js.LICENCE.txt as .js and then fails to find the file

This commit is contained in:
GCHQDeveloper581 2026-06-10 10:59:19 +00:00
parent f30668aeff
commit 86baa44b55
No known key found for this signature in database
GPG Key ID: 6222E059A3DF595C

View File

@ -144,7 +144,8 @@ module.exports = function (grunt) {
new BundleAnalyzerPlugin({ new BundleAnalyzerPlugin({
analyzerMode: "static", analyzerMode: "static",
reportFilename: "BundleAnalyzerReport.html", reportFilename: "BundleAnalyzerReport.html",
openAnalyzer: false openAnalyzer: false,
excludeAssets: /.*Worker.js/
}), }),
] ]
}; };