Open
Description
Describe the problem
While working on #10041, I realized that setting sourcemaps true in the vite config will set it to true for both client and server builds, which might not always be what you want. The client sourcemaps are left in the assets folder so they're accessible as any other asset without any restriction.
Describe the proposed solution
Something like config.kit.overrideClientSourcemaps: typeof vite_config.build.sourcemap
and then set the value to overrideClientSourcemaps
in the client build if present.
Alternatives considered
User deletes sourcemaps in the client folder after build
or #9544
Importance
nice to have
Additional Information
No response
Metadata
Metadata
Assignees
Labels
No labels