-
Notifications
You must be signed in to change notification settings - Fork 173
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: sourcemaps + testing #2366
Conversation
@@ -22,6 +22,8 @@ const isLogPretty = ['1', 'true', true, 1].includes(NUXT_PUBLIC_LOG_PRETTY) | |||
|
|||
// https://v3.nuxtjs.org/api/configuration/nuxt.config | |||
export default defineNuxtConfig({ | |||
// sourcemaps in prod only needed for datadog and should be deleted after (or at least made inaccessible?) |
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 open source, so I don't see any need to delete them (provided they don't make the image too heavy)
Example sourcemap upload command:
|
Where is the domain provided @fabis94 ? Is this the service? |
@iainsproat --minified-path-prefix is the bit that includes the domain of the app |
Apparently we may be able to avoid having to specify the app domain, and we can just specify the path prefix that leads to the minified assets (/_nuxt) |
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.
lgtm, we need to run it through circleci to properly test 🤞
generate source maps in prod build + allow devs to trigger errors (for now) through secret query param