Skip to main content

Questions tagged [source-maps]

A source map allows a JavaScript debugger to map line and symbol information from a transformed (eg. minified, optimized) JavaScript file back to the original input file used for the transformation. The original file can be any kind of text file which in effect enables in-browser debugging of any language compiling to JavaScript.

source-maps
0 votes
1 answer
27 views

Flutter build web, how to generate source-map for packages

When building the app using flutter build web --source-maps the generated source map file doesn't include information about the codes coming from packages. Is there a way to also include package ...
AmirHossein Mohammadzadeh's user avatar
0 votes
0 answers
36 views

Sentry flutter source maps missing stack traces and missing_source_content error

I have a problem with Sentry for Flutter. I can't read stack traces and I have a missing_source_content error. pubspec.yaml config: sentry: upload_debug_symbols: true upload_source_maps: true ...
Luke M's user avatar
  • 27
0 votes
0 answers
25 views

3rd party widget not showing properly on front-end

I've build a vacation rental website for a client who is using Lodgify for their rentals. It's a simple one-page website, build with Elementor. Link to website There are 3 rental listings, and each ...
beamingcreative's user avatar
0 votes
0 answers
20 views

Why are Chrome devTools trying to load source maps from a wrong folder?

In devtools of a React app on prod I see that it tries to load source files from a wrong location: https://localhost/appcontent/js/js/app.js.map?771acda80c2a2a0f Source maps were created and are in ...
Faire's user avatar
  • 951
1 vote
0 answers
60 views

Terragrunt terragrunt-source-map seems not to replace anything

I have a complex Terragrunt setup. Terragrunt fetches Terraform modules from a remote git repository. For development purposes, I would love to replace one of the remote modules with a local ...
lony's user avatar
  • 7,523
0 votes
0 answers
116 views

How to configure Sentry Webpack sourcemap uploading in Quasar?

I'm trying to follow the documentation of Sentry to configure my Vue.js SPA application to report errors. Given the minification during build, Sentry requires the sourcemap, which is created by ...
andre widianto's user avatar
2 votes
0 answers
397 views

Next.js 13.4.1 & Webpack 5.89.0: Not Generating Source Maps for Chunks in Production

I'm working on a Next.js project (version 13.4.1) with Webpack (version 5.89.0) and encountering an issue where source maps are not being generated for my JavaScript chunk files in the production ...
Xeno's user avatar
  • 45
1 vote
0 answers
46 views

Why are two of our Angular component templates taking up so much space of our bundle?

I've been trying to figure out ways to reduce our Angular app's bundle size, so I used source-map-explorer to figure out where the bundle size is coming from. When I looked at the output below, I ...
Matthew DeMichele's user avatar
0 votes
0 answers
57 views

Accessing File Name and Line Number in Production Errors with React Error Boundary

I'm implementing an error boundary in my React application to enhance error handling by capturing runtime errors and reporting them to a backend API for logging and analysis. The critical piece of ...
STRESSUNFIT's user avatar
2 votes
1 answer
171 views

Vite sourcemaps show in inspector, but loads different sourcemap in browser

Vite doesn't serve my transform sourcemaps even though they are available in the pipeline, I'm building a framework plugin and not able to get vite to correctly serve sourcemaps. Using vite-plugin-...
Marty Nelson's user avatar
0 votes
0 answers
36 views

How to have conditional source-maps in next.js

I have a next project where sometimes we would like to debug certain ui elements on the fly. The source map currently on production is minified but I have seen at some places that there are ways where ...
Angad Srivastav's user avatar
0 votes
0 answers
27 views

How to get source-mapped path to code in Browser in JavaScript?

I have a simple error printing library which successfully retrieves the source-mapped file paths in Node.js and gets the TypeScript file paths/locations, for example. For that, basically it's this ...
Lance's user avatar
  • 77.9k
0 votes
0 answers
26 views

Sourcemap granularity

I build a tool that does transformations to JavaScript Code. I want to provide a source map to the transformed code for debugging reasons. I wonder at what granularity the source map is usually ...
Fee's user avatar
  • 801
0 votes
0 answers
82 views

Vite JS merge output sourcemaps

We're using a vite for a project. Works great and creates multiple chunks when building. Recently i enabled sourcemaps and every chunk gets its individual .map file. However, i'd like to have multiple ...
flaky's user avatar
  • 7,164
0 votes
1 answer
104 views

How can error stack traces be logged in Azure Durable Functions for Typescript?

We are using Azure Durable Functions with Typescript and the framework and runtime works great as such, but when a trigger or orchestration fails and throws an exception we are left scratching our ...
Almund's user avatar
  • 5,996

15 30 50 per page
1
2 3 4 5
75