mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-25 04:24:30 -05:00
Excess warnings when building the frontend #383
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ryankupk on GitHub (Mar 1, 2024).
Is your feature request related to a problem? Please describe.
When building the frontend (
npm run build) there are a lot of excess warnings - some for unused css selectors and some for unused export properties. These are reported when runningnpm run devas well but are not quite as big/intrusive, but will also show up every time that there's a change and the server reloads so it can get excessiveDescribe the solution you'd like
These are pretty quick fixes
export letlines from the files where they appearDescribe alternatives you've considered
I've considered just ignoring them and have been doing that, it would be nice to change this though
Additional context
Including a couple of brief examples:
I also have already made these changes locally and tested, and can raise a PR, the contribution guidelines say to create an issue first so I'm doing so here in case there's any disagreement on anything above
@tjbck commented on GitHub (Mar 2, 2024):
Updating
svelte.config.jsseems promising, feel free to make a PR!