-
-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when using with the webpack dev server 4 #471
Comments
Please provide reproducible test repo |
Here is the minimal project to repro this issue:
See errors:
|
You are on windows, but uses |
I updated code to use path.resolve.
Results are the same.
…On 02.10.2021 19:06, Alexander Akait wrote:
|path.resolve(__dirname, '/www')|
|
Under linux results are the same too. |
Yep, I see, investigating |
@valscion Found a bug, we should use |
You mean this code? webpack-bundle-analyzer/src/parseUtils.js Lines 10 to 11 in 194c62d
|
@valscion Yes 👍 |
Is it fixable? |
It's likely that it's fixable. It would require adding more test coverage to make sure the fix would not regress in the future and we don't have much tests for That's why I haven't had time to fix this yet. Feel free to try to fix it and provide a PR if it would be important to you for this bug to be fixed |
This can be problematic for me because I am not in the context of this project. |
Issue description
I got errors when using bundle analyzer wit the webpack dev server 4.
This happens only, when running under dev server, regular build completes normally.
Technical info
Debug info
I am using it as plugin with the following options:
What other Webpack plugins were used?
The text was updated successfully, but these errors were encountered: