Closed thomvaill closed 1 month ago
Reason is a bug in webpack that's fixed in webpack 5.61.0. log4brains uses webpack-bundle-analyzer 4.3.0 which in turn depends on webpack. The current webpack-bundle-analyzer (4.7.0) however still depends on webpack-5.37.1, so simply moving to the latest version here won't fix the problem (yet).
114 did not fix as the workaround environment variable is still needed during the use of the log4brains CLI, which is not acceptable. We have to update our dependencies to fix correctly this issue instead
I think I found a way by spawning a new node process with the correct environment variable. Let's see in #124
Bug Report
Steps to Reproduce
Expected Behavior
Should work :-)
Environment
Possible Solution
Probably some dependency updates.