-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
updating multiple JS frameworks to and more detailed source map info #14454
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
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Bundle ReportChanges will increase total bundle size by 960 bytes (0.0%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-client-array-pushAssets Changed:
view changes for bundle: sentry-docs-server-cjsAssets Changed:
|
assets: ["./output/**/*"], | ||
ignore: ["**/node_modules/**"], | ||
filesToDeleteAfterUpload: ["./output/**/*.map"], |
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.
The SDK automatically sets those values, so people usually don't have to add something here.
But the default values would be:
filesToDeleteAfterUpload: [
/* client */ '.*/**/public/**/*.map', // deleting this is more important as it's client-side
/* server */ '.*/**/server/**/*.map', '.*/**/output/**/*.map', '.*/**/function/**/*.map'
],
assets: undefined // it's undefined as we can't know exactly where the build is located.
// But it could be:
// assets: ['./.output/server/**/*']
sourcemaps: { | ||
assets: ["./build/*/**/*"], | ||
ignore: ["**/build/client/**/*"], | ||
filesToDeleteAfterUpload: ["./build/**/*.map"], | ||
}, |
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.
same concern as @s1gr1d had above: These options aren't required. Either we clearly state that users can set them if the default behaviour doesn't work for them, or we just omit them. Happy to leave the decision up to you :)
sourcemaps: { | |
assets: ["./build/*/**/*"], | |
ignore: ["**/build/client/**/*"], | |
filesToDeleteAfterUpload: ["./build/**/*.map"], | |
}, |
DESCRIBE YOUR PR
IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes: