Comments (1)
I'm having trouble reproducing.
@Vadman97 Can you confirm with the client that they have the following conditions met?
HIGHLIGHT_SOURCEMAP_UPLOAD_API_KEY
in the environment or pass inapiKey
to the second argument ofwithHighlightConfig
.- Make sure that they're passing in
uploadSourceMaps
. NODE_ENV
must beproduction
.nextConfig.productionBrowserSourceMaps
must befalse
Example with apiKey
passed in: withHighlightConfig(nextConfig, { apiKey: 'asdf', uploadSourceMaps: true })
Live example in e2e sandbox:
Note that HIGHLIGHT_SOURCEMAP_UPLOAD_API_KEY
must be injected into environment variables. Also NODE_ENV=production
.
// next.config.mjs
import { withHighlightConfig } from '@highlight-run/next/config'
const nextConfig = {
experimental: {
appDir: true,
instrumentationHook: false,
},
productionBrowserSourceMaps: false,
images: { domains: ['i.travelapi.com'] },
}
export default withHighlightConfig(nextConfig, {
uploadSourceMaps: true,
})
from highlight.
Related Issues (20)
- Prevent spans from overlapping in flame graph
- server-side asset storing seems to return wrong content type
- allow reporting session metadata from backend next.js sdk
- add documentation for Nuxt support HOT 1
- Support Astro among our SDKs
- How to set environment from Golang code HOT 1
- Changes to Services UI
- change github modal on services table HOT 2
- Release Tracking on Errors
- Investigate otel bug reportings for Go
- Configure NextJS proxy endpoint
- support screenshots on session / error alerts
- Update copy on demo gate
- Fix alert links in messages in slack when updating alerts
- "Go back to your project" is broken
- Minor Demo Project Updates
- Create a hubspot contact when someone submits the demo form on the client
- Handle loading and error state on flame graph
- @highlight-run/node times out exporting data HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from highlight.