Skip to content
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

Invalid package name in stat.json when part of name is equal current workdir #149

Open
loshchini opened this issue Jan 13, 2022 · 0 comments

Comments

@loshchini
Copy link

loshchini commented Jan 13, 2022

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo
  2. Build image docker build . -t bug-repro
  3. Run container docker run bug-repro
  4. Clone webpack/dist/build_info/stats.json from container
  5. In stats.json find @statoscope.-stats-extension-compressed. As we can see, part of the package name which equal to current working directory in container (/webpack) was replaced by dot. The same for @statoscope.-stats-extension-package-info.

Versions:

Node (for non-browser bug): 14.17.0
Webpack: 5.61.0
Statoscope: 5.19.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants