-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(sveltekit): Streamline build logs #17306
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
wait this does not work, let me draft it again... |
@@ -60,8 +62,12 @@ export async function makeCustomSentryVitePlugins(options?: CustomSentryVitePlug | |||
}, | |||
}; | |||
|
|||
const { promise: filesToDeleteAfterUpload, resolve: resolveFilesToDeleteAfterUpload } = | |||
createFilesToDeleteAfterUploadPromise(); | |||
let _resolveFilesToDeleteAfterUpload: |
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.
I wonder if we should create a utility that does this, but then does a node version check to run Promise.withResolvers
Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>
3d12225
to
66636ca
Compare
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 cleaning this up and sorry for the late review! LGTM!
This streamlines the build logs for sveltekit. For this, I aligned how we handle source maps setting with other SDKs, which is a bit different then how sveltekit did it.
debug: true
sourceMaps: false
anddebug: false
, more details whendebug: true
is setfilesToDeleteAfterUpload
is set, based on other SDKs (?? I hope that makes sense....)