-
Notifications
You must be signed in to change notification settings - Fork 73
refactor(manifest): improve asset tracking and manifest generation #326
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks I will check it out
@gioboa have you been able to look at this at all? |
Thanks for the ping. I look at it now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @pcfreak30 for your help and commitment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we closing issues with this improvement?
If yes, please add Close #issue-number-here
in the description
updated. |
7465b6d
to
399d662
Compare
@gioboa i did a rather large refactor and moved the primary logic to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this great PR 👏🎉
- Extracted asset tracking logic into dedicated cssModuleHelpers utility - Added comprehensive tests for new helper functions - Improved manifest generation with better CSS asset handling - Added type safety and documentation throughout - Optimized module processing with early exit conditions
@gioboa branch updated |
This is the 1st in a series of PR's im submitting thats the result of me needing to evolve the plugin to support new things.
I will also make a note here that you do NOT need to have css support likely in dev mode b/c vite seems to inline all css when reading from the js files, especially under HMR.
This commit has been in use for months by me, and im open to changes to it. It mainly exposes all css files to be put in all expose entries.
Original PR at #257
Closes #253