Skip to main content
POST
Source map uploads are available on Pro and Team plans.
Source maps allow Kodo to translate minified JavaScript stack traces into readable source code with original file names, line numbers, and column positions.

Request

This endpoint accepts multipart/form-data for file uploads.
file
required
The source map file (.map)
string
required
The URL of the minified JavaScript file this map corresponds to (e.g., “https://example.com/assets/app.min.js”)
string
required
Release version this source map belongs to
string
required
Service ID

Response

Returns upload confirmation.

Build Tool Integration

Webpack

webpack.config.js

Vite

vite.config.js
Source maps should not be served publicly as they expose your original source code. Upload them to Kodo and remove them from your production deployment.