-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat(solidstart): Filter out low quality transactions for build assets #13222
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.
Looks good, great tests
return event; | ||
} | ||
// Filter out transactions for build assets | ||
if (event.transaction?.match(/^GET \/_build\//)) { |
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.
Not for this PR but something to keep in mind in general: is it possible in solidstart to change the name of the build directory?
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.
It's generally possible to change, but vinxi has problems at build time when the build folder isn't named _build
. I think for now this won't change but we can revisit this if it ever does.
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.
Nice, thanks for the oddly satisfying screenshots!
Also good point from @s1gr1d to maybe make the build asset directory dynamic
Before:

After:
