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

CLP WebUI bundle contains unnecessary development dependencies #498

Closed
junhaoliao opened this issue Jul 28, 2024 · 0 comments
Closed

CLP WebUI bundle contains unnecessary development dependencies #498

junhaoliao opened this issue Jul 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@junhaoliao
Copy link
Member

Bug

It was found in the generated CLP packages, some assets that are not needed by the WebUI runtime is included in the package, such as clp-text-x86_64-v0.2.0-dev\var\www\webui\programs\server\npm\linter\node_modules.

CLP version

2c99375

Environment

Packaged on Ubuntu Jammy (22.04 LTS)

Reproduction steps

  1. Ran task clp-text-pkg-tar or clp-json-pkg-tar.
  2. Unpack the generated archive and found the /var/www folder taking up 465MB of space on disk.
  3. Further investigation led to the finding of the linter dependencies being included.
@junhaoliao junhaoliao added the bug Something isn't working label Jul 28, 2024
@junhaoliao junhaoliao self-assigned this Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant